Topic: div id / classes Question (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
![]() 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 |
![]() 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.... |
![]() 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 |
![]() |
Lunatic (VI) Inmate From: under the bed |
![]() 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.... |
![]() I'm trying guys... I felt an achievement in itself having my site very correctly. :-) |
Paranoid (IV) Inmate From: Lost Angeles Kalifornia, via Hawaii.... |
![]() UGH! ok, I last final (hopefully) question about my CSS layout for another site i did... |
Maniac (V) Inmate From: there...no..there..... |
![]() sorry, I have just a second but... |
Paranoid (IV) Inmate From: London |
![]() 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.... |
![]() neither seemed to work... I'm starting to get frustrated here with this layout. Where's my old friend the "table" at??? :-S |