Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!


Sponsored Content

 

 
 

Photo
- - - - -

Boring Css Question


  • Please log in to reply
3 replies to this topic

#1 awall19

awall19

    Peanut Butter Lover

  • Active Members
  • PipPipPipPipPip
  • 502 posts

Posted 09 October 2003 - 02:13 PM

In your experience is it better to still specify H1, H2 tags... in the page copy or to completely seperate that into the CSS?

is there a way to specify multiple different looks for the H1 or H2 tag in the same external style sheet, or how easy is it to reference multiple CSS sheets from the same page?

Edited by awall19, 09 October 2003 - 02:21 PM.


#2 Ron Carnell

Ron Carnell

    HR 6

  • Moderator
  • 959 posts
  • Location:Michigan USA

Posted 09 October 2003 - 02:23 PM

Using an external style sheet has three big advantages:

1. That page will be cached by a visitor's browser and need not be loaded for every page.
2. Your site-wide design will tend to be more consistent and focused
3. Should you ever want to change that site-wide design, you can do it in just one place

And yes, you can set many, many different styles for the same HTML tag. A good understanding of inheritance will even make it very easy to do so.

#3 qwerty

qwerty

    HR 10

  • Moderator
  • 8,287 posts
  • Location:Somerville, MA

Posted 09 October 2003 - 02:27 PM

You don't need to reference multiple style sheets in the same document. If you want different versions of a given tag, just set up different classes in the style sheet, so your HTML will have tags like <h1> and <h1 class="something">.

#4 awall19

awall19

    Peanut Butter Lover

  • Active Members
  • PipPipPipPipPip
  • 502 posts

Posted 09 October 2003 - 02:36 PM

Thanks for the quick replies guys

you are the greaterestest

:thumbup:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users