Previous Message
Next Message

Negative Margins: Are they acceptable for layout?

Sent by Karl Bedingfield on 13 December 2009 11:11


Hi all,

I am currently designing a frontpage for a newspaper style website.
Design-wise it's a 3 column layout with a main cat div (that has a 3
column wide image and copy) above the 3 columns.

The main cat div image spans all 3 columns but I want the copy from
the main cat to fall into column 1. The only way I can see how this
will work is to add negative margins to column's 2 & 3 to raise them
higher than column 1. Is this good practice or is it frowned upon?

This is my div sructure:

<div class="feature_wrap">

<div class="feature_slide"> </div>

<div class="feat_post">

</div><!-- /feature_wrap -->

</div>

<div id="column-1">

<div class="column-1-container">

</div><!-- end #column-1-container -->

</div><!-- end #column-1 -->

<div id="column-2">

<div class="column-2-container">

</div> <!-- end #column-2-container -->

</div> <!-- end #column-2 -->

<div id="column-3">

<div class="column-3-container">

</div> <!-- end #column-3-container -->

</div> <!-- end #column-3 -->

Any suggestions greatly appreciated.

--
Regards
Karl



-- 
Regards
Karl Bedingfield
______________________________________________________________________
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: