?

Log in

No account? Create an account

Previous Entry | Next Entry

In my old layout, Component, I found coding that would stretch the width of the entries so that pictures wouldn't bleed over outside of my layout. However, I'm having a hard time figuring out if that option is available in Expressive.

For example: In this entry, the picture bleeds outside of the entry space onto the background. Is there any way to make the entries automatically stretch and shrink to make pictures fit?

Comments

( 2 comments — Leave a comment )
av8rmike
Mar. 23rd, 2008 02:24 am (UTC)
Well, IE6 does stretch the layout, but this is incorrect behavior and I'm assuming downgrading to IE6 isn't an option for you.

The reason why Component (and a few other layouts) stretch like that is because they use <table>s for layout, which will expand horizontally to fit oversize content (and make the entire page scroll). Expressive uses block-level elements, or <div>s that are positioned with CSS for the layout.

However, there's no option in CSS to expand a box automatically. This is why the "Show scrollbars on entries" option was added back in the early days of Expressive. So, your options are pretty limited: You can show the scrollbars, cut off the images, or maybe re-size the entire layout, but you'd have to change the header width, too.
jellibean
Mar. 23rd, 2008 04:42 am (UTC)
Yeah, I'd prefer not to use Internet Explorer...

Aw, I was hoping I could fix this, but I understand the differences and why it can't work. Thanks for your help!
( 2 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars