Topic: div id / classes Question (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 09-14-2007 03:36
I've been trying to get validated html for the past 2 hours but I can't figure out how to do this without breaking the validity of the css. (per your suggestion Reisio) |
Lunatic (VI) Inmate From: under the bed |
posted 09-14-2007 03:43
All you've got to do is replace the id="tutbox" with class="tutbox" and change the #tutbox in the CSS to .tutbox. |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 09-14-2007 04:08
I think that pretty much answers it! Thanks DL... I'm still trying to determine the correct usage for certain aspects of CSS. |
Paranoid (IV) Inmate From: Norway |
posted 09-14-2007 09:41 |
Lunatic (VI) Inmate From: under the bed |
posted 09-14-2007 15:05
Just remember that an ID is only used to identify an unique element on a page. Generally used to define the main page layout blocks, and those special features... |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 09-22-2007 07:40
I'm trying guys... I felt an achievement in itself having my site very correctly. :-) |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 09-26-2007 23:02
UGH! ok, I last final (hopefully) question about my CSS layout for another site i did... |
Maniac (V) Inmate From: there...no..there..... |
posted 09-28-2007 14:06
sorry, I have just a second but... |
Paranoid (IV) Inmate From: London |
posted 09-28-2007 15:00
Often this problem happens because there isn't enough space between the two floated elements,, have you tried taking off the width of the right element, it probably doesn't need it. |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
posted 10-03-2007 07:38
neither seemed to work... I'm starting to get frustrated here with this layout. Where's my old friend the "table" at??? :-S |