Previous Message
Next Message

Floated column invades content area

Sent by Inês_Teles on 6 February 2009 12:12


Thank you very much for the help, I'll try these out when I get home.

About the code: I know, it's ridiculous isn't it? That's the problem with
big CMSs, they class and div every single thing on the page! But the people
I'm working with really want to work with Drupal - does anyone know of a CMS
that would make for lighter and more semantic CSS?

Thanks
Ines


On 2/6/09, Gunlaug Sørtun [EMAIL-REMOVED]> wrote:
>
> Inês Teles wrote:
>
>> There's a #skip-to-nav which I've used to put a background photo on the
>> right corner of the header. Whenever I add the CSS to add this background
>> image, the right-sidebar floats into the content area.
>>
>
> Yes, the #skip-to-nav occupy space downwards into #main, where
> #sidebar-right has to move out of the way since its margin-top reaches
> up into the same space.
>
> The addition of...
>
> #skip-to-nav {margin-bottom: -50px!important;}
>
> ...will make #skip-to-nav take up no space in #main, and thereby make
> the problem disappear.
>
>
> Can't help but say that that source-code showcases divitis and classitis
> to a degree I haven't seen in years, and the CSS is simply ...
> nightmare-ish :-)
>
> regards
>        Georg
> --
> http://www.gunlaug.no
>
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: