Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 10:27 PM
mydemand
Guest
 
Posts: n/a
Default Help with DIV layer positioning


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

  #2  
Old July 20th, 2005, 10:27 PM
Christoph Paeper
Guest
 
Posts: n/a
Default Re: Help with DIV layer positioning

*mydemand*:[color=blue]
>
> I'm trying to code a layout in DIVs[/color]

Ew.
[color=blue]
> Here's the screenshot of the layout in Adobe Photoshop :
> http://blessedbeproductions.com/ftfgscreenshot.jpg[/color]

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.
[color=blue]
> I've managed to code the columns[/color]

Columns?
[color=blue]
> with absolute coding,[/color]

What's that supposed to mean?
[color=blue]
> a) Make the divider line a small 1-pixel .GIF that repeats downwards[/color]

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'.
[color=blue]
> b) Align the whole layout centrally,[/color]

That's only possible with fixed-width (bad) or width-limited (not so bad)
layouts and a FAQ anywhere CSS is discussed.
[color=blue]
> I managed to do (b) on [my demand] (http://mydemand.net[/color]

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.
[color=blue]
> it seems that I can't do (a) and (b) TOGETHER.[/color]

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
 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles