Thread: Unique Div ids
View Single Post

  #2 (permalink)  
Old 06-08-2008, 10:27 AM
louie's Avatar
louie louie is offline
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,038
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

yes indeed all id's has to be unique on the page and style can be set inside the CSS file starting with the #id_name sign.
if you need to use the same style more then once on the same page you can create classes, referenced inside the CSS file with a .class_name.

in you case there (the text file) the #infoboxleft has the same style as the #infoboxright, so you can convert that into one class .side_box_holder and same with the other ones that goes inside it. (e.g. .titlebox, .imagebox)
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory
Reply With Quote