Forums / Templates, Stylesheets, Page Layout / How to let <div> tag auto flow?

How to let <div> tag auto flow?

Locked

Started by rooisnor on 7 Jan 2009, 9:49 PM · Views: 3,875

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
7 Jan 2009, 9:49 PM
#1
rooisnor avatar

rooisnor

Zen Follower

Join Date:
Jul 2008
Posts:
192
Plugin Contributions:
0

How to let <div> tag auto flow?

I'm trying to get a <div> tag auto flow across the browser in the style sheet... for the life of me I can't let it happen. I know how to repeat an image but how would I repeat a layer with a background to auto flow?

I'd like to have a blue line running across the body...

7 Jan 2009, 10:03 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: How to let <div> tag auto flow?

We need to see your site to answer this for your situation.

You won't get a div to repeat; you may be able to stretch it or use position properties to locate it as you want. The possibilities are too numerous to give a clear answer in the dark.

7 Jan 2009, 10:12 PM
#3
rooisnor avatar

rooisnor

Zen Follower

Join Date:
Jul 2008
Posts:
192
Plugin Contributions:
0

Re: How to let <div> tag auto flow?

.. as I thought...

You have to have an image inside a <div> to repeat itself... Thanks!

7 Jan 2009, 10:19 PM
#4
rooisnor avatar

rooisnor

Zen Follower

Join Date:
Jul 2008
Posts:
192
Plugin Contributions:
0

Re: How to let <div> tag auto flow?

..ok, found a solution!:yes:

set the width > 100%
left > 0px (if 'absolute' positioning)