HighDots Forums  

Help with DIV layer positioning

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Help with DIV layer positioning in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mydemand
 
Posts: n/a

Default Help with DIV layer positioning - 01-25-2004 , 01:09 AM







Hi all,

I'm trying to code a layout in DIVs but I'm running into a fe
problems. Here's the screenshot of the layout in Adobe Photoshop :

http://blessedbeproductions.com/ftfgscreenshot.jpg

(excuse the grittiness)

I've managed to code the columns with absolute coding, but I want to d
the following :

a) Make the divider line a small 1-pixel .GIF that repeats downwards

b) Align the whole layout centrally, so that it doesn't look like it'
wasting so much space on the right side on 1024x768 res (I have tha
resolution, but so far I designed it so it'll fit 800x600 res)

I managed to do (b) on [my demand] (http://mydemand.net : no matte
which res you use, it's neatly at the center and it "fills out") but i
seems that I can't do (a) and (b) TOGETHER.

If I try to align the layout centrally (as with [my demand]) th
background line would not work, it would break off. If I did th
background line, the layout would be stuck to the top left corner o
the screen, making it look ugly and a bit of a space waster.

Intensify.org manages to do this but I haven't figured out how.

Is there a way to combine the two, please?

thanks!

B*B, Tiar

mydeman
-----------------------------------------------------------------------
Posted via http://www.forum4designers.co
-----------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message37008.htm


Reply With Quote
  #2  
Old   
Christoph Paeper
 
Posts: n/a

Default Re: Help with DIV layer positioning - 01-25-2004 , 05:02 AM






*mydemand*:
Quote:
I'm trying to code a layout in DIVs
Ew.

Quote:
Here's the screenshot of the layout in Adobe Photoshop :
http://blessedbeproductions.com/ftfgscreenshot.jpg
Where's the layout in there? I see a collage of some women, "Fear the
Fangirl" in a huge fancy font below it and something unreadable in the same
font on the right. Below that, about 40% from the left is some tall T-shaped
thing with horns.

By the way, in general PNG and GIF are the better suited formats for
screenshots, but with the photos I grant you JFIF.

Quote:
I've managed to code the columns
Columns?

Quote:
with absolute coding,
What's that supposed to mean?

Quote:
a) Make the divider line a small 1-pixel .GIF that repeats downwards
Oh, that T-thing is a divider and to the left and right of it shall be
columns?
However, a 1px-GIF can merely hold one color and can thus easily be replaced
by some CSS rule with 'border'.

Quote:
b) Align the whole layout centrally,
That's only possible with fixed-width (bad) or width-limited (not so bad)
layouts and a FAQ anywhere CSS is discussed.

Quote:
I managed to do (b) on [my demand] (http://mydemand.net
Ew! Never use 'pt' for 'font-size', except maybe in a print stylesheet.

Well, you more or less correctly used (along with many not so correct
'center's in HTML)

#container {
width: 740px;
margin-left: auto;
margin-right: auto
}

I don't get the following "position: relative", though.

Quote:
it seems that I can't do (a) and (b) TOGETHER.
I can't tell you what problem you have with doing a), because you didn't
tell us, i.e. you gave us a meaningless picture without much explanation
from which we cannot even guess your HTML and CSS.

--
"Music is essentially useless, as life is."
George Santayana


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.