Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > HTML
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

HTML HTML problems, maybe you are trying to code for MySpace. Get all the HTML coding help here for your website.

Google
Closed Thread
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 1:48 PM   #1
brucie
 
brucie's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

In post <3efda4d2@nntphost.cis.strath.ac.uk>
Lorne Cameron said...

> I've been trying to change my site's layout to CSS, but I've run into
> some trouble. The layout is a header image, 760x115, then a menu image
> on the left below that, 160x439, and then the main content in the
> remaining space.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<title>blah</title>
<style type="text/css">
body{margin:0;padding:0;}
h1{height:115px;margin:0;border:2px solid red;}
#menu{width:160px;height:439px;float:left;border:2 px solid green;}
#content{margin-left:165px;border:2px solid blue;}
</style>
<h1>header</h1>
<div id="menu">menu<br>menu<br>menu<br>menu<br>menu<br> menu<br>menu<br></div>
<div id="content">content<br>content<br>content<br>cont ent<br>content<br></div>

--
brucie a. blackford. 29/June/2003 07:02:51 am kilo.
http://loser.brucies.com/
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Advertisements
Old 07-01-2007, 1:48 PM   #2
Lorne Cameron
 
Lorne Cameron's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

brucie wrote:
>>with one exception: is it possible to have the content DIV fill all
>>remaining space vertically as well as hortizontally?>

>
> http://usenet.alt-html.org/layout-on...us-thingy.html


I'm not sure what you're trying to illustrate here, or if you understand
my question. What I'm looking for is the layout equivalent to the
following table:

<TABLE WIDTH="100%" HEIGHT="100%">
<TR>
<TD COLSPAN="2">Header image, 760x115</TD>
</TR>
<TR>
<TD WIDTH="160">Menu image, 160x439</TD>
<TD ALIGN="center" VALIGN="middle">Content</TD>
</TR>
</TABLE>

Thanks again.
LC.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:48 PM   #3
brucie
 
brucie's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

In post <3efe3f81@nntphost.cis.strath.ac.uk>
Lorne Cameron said...

>>>with one exception: is it possible to have the content DIV fill all
>>>remaining space vertically as well as hortizontally?>


>> http://usenet.alt-html.org/layout-on...us-thingy.html


> I'm not sure what you're trying to illustrate here, or if you understand
> my question. What I'm looking for is the layout equivalent to the
> following table:


the above centers an image (or anything else) horizontally and
vertically within the content area (the orange bit). it is only
supported by opera7+ (win platform).


--
brucie a. blackford. 29/June/2003 11:25:08 am kilo.
http://loser.brucies.com/
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:48 PM   #4
Wipkip
 
Wipkip's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

brucie wrote:

>> It's working pretty much as I want tit now,

> ^^^
> you said a rude word
>

Which word is rude? I too want a tit now.

--
Duende
-----
What is the difference between genius and stupidity?
Genius has limits. - Albert Einstein.


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:48 PM   #5
Lorne Cameron
 
Lorne Cameron's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

brucie wrote:
>
>>>>http://usenet.alt-html.org/layout-on...us-thingy.html

>
>>the above centers an image (or anything else) horizontally and
>>vertically within the content area (the orange bit). it is only
>>supported by opera7+ (win platform).

>
>
> a screencap:
> http://usenet.alt-html.org/screencap-opera7.png [5.3k]
>


Ok, cool, that's what I'm looking to do: have the content DIV fill all
available space both hortizontally and vertically. Is there a way to do
this in IE/NS/Mozilla?

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:48 PM   #6
Lorne Cameron
 
Lorne Cameron's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

brucie wrote:
> In post <3efe4557$1@nntphost.cis.strath.ac.uk>
> Lorne Cameron said...
>
>
>>>http://usenet.alt-html.org/layout-on...us-thingy.html
>>>the above centers an image (or anything else) horizontally and vertically
>>>within the content area (the orange bit). it is only supported by opera7+
>>>(win platform). a screencap:
>>>http://usenet.alt-html.org/screencap-opera7.png [5.3k]

>
>
>>Ok, cool, that's what I'm looking to do: have the content DIV fill all
>>available space both hortizontally and vertically. Is there a way to do
>>this in IE/NS/Mozilla?

>
>
> only if you change your absolute units (115px header and 160px menu)
> to percentages or for years authors have been telling people to
> upgrade to IE (when they really mean downgrade) so why not tell
> everyone to upgrade to opera? it really is an upgrade.
>


If I change to percentages I'd have to assume a certain resolution,
wouldn't I? I think it's more effort than it's worth if I want to get
everything just the way I want. I think I'll keep it as simple as I can
and compromise a little there.

As for browsers, I've used Opera at university occasionally, but I
prefer the feel of Mozilla to anything else. And I can pretty much
guarantee than about 95% of peple who view my site will be using IE,
maybe a few on Netscape, so that's what I have to design for.

Thanks for all your help. That's the layout pretty much sorted. I'll
have a few SSI questions no doubt once I'm finished with the layout.

LC.

 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:48 PM   #7
brucie
 
brucie's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

In post <3efe5523$1@nntphost.cis.strath.ac.uk>
Lorne Cameron said...

>>>Ok, cool, that's what I'm looking to do: have the content DIV fill all
>>>available space both hortizontally and vertically. Is there a way to do
>>>this in IE/NS/Mozilla?


>> only if you change your absolute units (115px header and 160px menu)
>> to percentages or for years authors have been telling people to
>> upgrade to IE (when they really mean downgrade) so why not tell
>> everyone to upgrade to opera? it really is an upgrade.


> If I change to percentages I'd have to assume a certain resolution,
> wouldn't I?


no. percentages will allow the design to adjust to the window size.
with a fixed height for the head and width for the menu you're unable
to set a size for the content area to fill the remaining space because
it could be anything. the width is easy because a block level element
will fill the space remaining but you cant do the height.

you can make all the sizes percentages so you know if the height of
the header is 10% and width of the menu is 20% then the content area
will be 90% high and 80% wide.

i don't know why you place such great importance on having the stuff
in the content area vertically centered when you don't even know the
height of the visitors window to know if it will have any effect or
not anyway. just let the content of that area work itself out. simple

--
brucie a. blackford. 29/June/2003 01:08:57 pm kilo.
http://loser.brucies.com/
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:49 PM   #8
picayunish
 
picayunish's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

When Wipkip was making a web page, a :-? appears and wrote:
> brucie wrote:
>
>>> It's working pretty much as I want tit now,

>> ^^^
>> you said a rude word
>>

> Which word is rude? I too want a tit now.

---------------------------------------^^^^
We aren't in the army.
--
Edwin van der Vaart (Geen familie van....)
http://www.semi-conductors.nl/ Links to Semiconductors sites
(will expire at 01 Sept '03)
http://www.semi-conductor.nl/ (under construction)
http://members.chello.nl/e.vandervaart/ Experimental site
http://host.deluxnetwork.com/~evdvaart/ Test site


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Old 07-01-2007, 1:50 PM   #9
Wipkip
 
Wipkip's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default CSS positioning help - Mozilla

William Tasso wrote:
> Wipkip wrote:
>> brucie wrote:
>>>> It's working pretty much as I want tit now,
>>> ^^^
>>> you said a rude word
>>>

>> Which word is rude? I too want a tit now.

>
> just the one?


You have to start somewhere.

--
Duende
------------
If a turtle doesn't have a shell, is he/she homeless or naked?


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Featured Websites
Free Space
Free Space
Free Space Free Space
Closed Thread
Tags: , , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS positioning help - Mozilla David Graham HTML 1 07-01-2007 1:47 PM
css positioning vs. tables PeterMcC HTML 0 07-01-2007 1:22 PM
The Death of Positioning? Advanced Web Technologies Building An Internet Business 0 05-29-2007 1:44 AM
banning this browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) no.reply7@comcast.net Website Reviews And Website Questions 13 05-28-2007 12:42 AM


Featured Websites




All times are GMT +1. The time now is 6:01 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98