home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1681
Discussions: 188,402, Posts: 2,243,609, Members: 232,632
Old September 20th, 2005, 01:35 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Aug 2005
Posts: 5
CSS page design

Hi!
I created a website using page design CSS (three-column right nav)
the problem is that some computers can't see the website properly,
i mean the text in the middle column doesn't appear in the middle
between the left and the right bar but it appears below, down the left bar.

could u please please please tell me wht shud i do to solve this thing.
please please
thanks

SeekSeek is offline   Reply With Quote
Old September 20th, 2005, 01:44 AM     #2 (permalink)
Kawaru wa yo!
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 16,137
Blog Entries: 7
Which browser?

The biggest problem with CSS... Well, no, the biggest problem for web design is that each browser renders things different. You need to find out which browser is not rendering it properly and find out how to fix it that way.

Are you using float: for the columns, or?

Whir is online now   Reply With Quote
Old September 21st, 2005, 02:08 AM     #3 (permalink)
Junior Member
 
Join Date: Aug 2005
Posts: 5
Whir,
Thanks a lot. I really appreciate it.
I checked and it uses floats,

i have no info what browser is having that problem
but can u please please tell me a universal way to fix that problem.
i mean i changed the float of that middle section to 40% from 55% but
now tht centre section is on the left, is there a way i can solve this problem pleeeease.

SeekSeek is offline   Reply With Quote
Old September 21st, 2005, 02:29 AM     #4 (permalink)
Kawaru wa yo!
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 16,137
Blog Entries: 7
Float is not great to work with. It tends to only work well for two pieces.

Honestly, I use tables when I have something like that come up. It may not be "cool," but browsers almost universally render tables the same way. Plus you can get pretty creative with embedding things in the table, like iframes and even multiple divs using float or relative positioning

The float itself will not have a percentage. Only the width or height would.
Whir is online now   Reply With Quote
Old September 21st, 2005, 10:44 PM     #5 (permalink)
Member
 
Join Date: Jul 2005
Location: Malaysia
Posts: 132
yeah, Whir was right...
I've seen some CSS positioning layouts where some of them use images and some (or mostly) are not.
If you just want to work with colours, then I'm pretty sure CSS positioning technique will be just nice.

But, when you wish to include images as part of your web template layout, then you should use tables.
or... combine it with CSS positioning.
Something like, if you have a 3-column css template now, you can convert it to a 3-column tables.
Then, you just apply the styles for each of the 3-columns from that css template into the 3-column tables.

CSS positioning is great, yet not "stable" or "static".
Tables are somehow annoying, with up to 20 nested tables, but they're absolutely positioned - unless you change the alignment of them.

Lately, I've seen some css templates which used images in their design (you can find out more from http://www.csszengarden.com/). Looks just great but I wasn't really amazed. I've seen lots before.

One problem I found was when I switched to full-screen mode in Opera, all styles were gone, leaving just a normal black&white web page. I wasn't sure if it's that my Opera got something incorrect/bugs...

But, I have been testing it - I modifed it so as it contained both tables and also with the original css layout styles. That's the one I was saying earlier on.

And then, all things done - with just one single table and with the help of the other div positioning&layout from the original css template, I could even save lots of space which others would normally put in lots of nested tables just to position the images into their template.

... and that's it. Just a simple note to you.
__________________
I learnt from the best. YOU are amongst them!
LetMeKnow is offline   Reply With Quote
Old September 21st, 2005, 10:56 PM     #6 (permalink)
Ultimate Member
 
Join Date: Jan 2003
Location: MA / NH
Posts: 1,497
Send a message via AIM to Blazer06
I can help you if you post your site and the CSS style sheet.

There are numerous problems, with browsers not rendering right (I.E. Especially). There are fixes. (Without using tables)


-Blaze
Blazer06 is offline   Reply With Quote
Old September 21st, 2005, 11:10 PM     #7 (permalink)
Member
 
Join Date: Jul 2005
Location: Malaysia
Posts: 132
you can also check out http://glish.com/ and see how he/she designed his/her web site.
it uses no tables at all - it's centred using div and there's a nice floating navigation on the right side which will expand corresponds to your contents/links.
then, at the top, there's another div - something like a table which is overlapped over the main contents div.
he/she has provided the code for that site just at the bottom of the site.
like he/she said... feel free to steal the code found within the site... like i did...

but anyway, did you create that 3-column css layout or probably you downloaded it from somewhere?
can you just show us how does it look like...?
LetMeKnow is offline   Reply With Quote
Old September 22nd, 2005, 12:35 AM     #8 (permalink)
Junior Member
 
Join Date: Aug 2005
Posts: 5
You guys are angels, honestly, this is the beauty of the world and this is the reason
this gives hope that complete strangers would try their best to help out somebody.
i am touched!
i have nailed the problem, the site looks great with the display settings 1024X768
but if i change it then either the middle float stuff goes down, below or the text becomes too small.
i am sorry the people for who i made the site have taken it off temporarily and i can't show u that. But is there a way i can make it work on all the screen display settings?
i really can't put the tables or revamp the site now, so is there a way i can reduce the
middle float's width or something so that it works?
or any other suggestions?

Once again i am very very very very very thankful!
SeekSeek is offline   Reply With Quote
Old September 22nd, 2005, 03:25 AM     #9 (permalink)
Member
 
Join Date: Jul 2005
Location: Malaysia
Posts: 132
Thumbs up
just continue on with that high-resolution...

correction: just continue editing your Web pages with a high-resolution screen width.

to edit the middle div or float, try these: (without the quotes)

"margin-left: whatever;"
"margin-right: whatever;"
"padding-left: whatever;"
"padding-right: whatever;"

or these:

"margin: auto;"
"padding-left: whatever;"
"padding-right: whatever;" (if not "padding: auto;")

... whichever will work well&properly on browsers such as IE, firefox and opera.

Last edited by LetMeKnow : September 22nd, 2005 at 01:18 PM. Reason: do i need to provide a reason or reasons...?
LetMeKnow is offline   Reply With Quote
Old September 22nd, 2005, 03:59 AM     #10 (permalink)
Member
 
Join Date: Jul 2005
Location: Malaysia
Posts: 132
Lightbulb
try these now...

okay,

i think if you wish your visitors to be able to read TEXTS within your Web site using whatever Screen Width Resolution, you can do one of these:

1) DO NOT specify any "font-size" within any elements/tags on your codings... or to be details, within your stylesheets (CSS) [exception to <font size="whatever">your text here</font> tags which has been depreciated anyway ] - you can, however, set the "font-family" to your own preferred font family type.
The default font size will be applied to your Web pages for whatever type of Screen Width Resolution the user currently using when viewing your Web pages.

2) Use 3 separates stylesheets files (CSS) - one for Low (like 640x480) Screen Width Resolution, one for Medium (like 800x600) Screen Width Resolution and one for High(like 1024x768) Screen Width Resolution.
Then, use JavaScript to redirect them based on user's Screen Width Resolution.

3) Use JavaScript to build an automatic stylesheets which will be embedded directly into your Web pages (inline stylesheets).
It will change the "font-size" depending on current Screen Width Resolution a user/visitor/client is using.

As with all of the above, the 1st one is recommended, then comes the third [3)] and if you wish and don't mind to create 3 or perhaps more CSS files, then use method 2).

You can also combine method 1) and 3) - nothing strange will happen... just be sure to try it first before "unleashing" them to a production Web site (or rather your own Web site).

You can find out more and get all the required JavaScript codes along with some sample stylesheets (internal) via the following [.zip] file. It consists only one file - an HTML document.

The document is an article which will explain everything to you.
Just view the source code and get back to me if you're having difficulty(ies) identifying the codes.
I don't have enough time to make separate files - sorry...
Attached Files
File Type: zip font_Issue_and_Screen_Width_Res.zip (3.2 KB, 39 views)

Last edited by LetMeKnow : September 22nd, 2005 at 01:20 PM. Reason: another mistake
LetMeKnow is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may 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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
page found where no page expected in the execution of ntoskrnl.exe (paraphrased) nickmight Technical Support 4 March 25th, 2004 05:52 PM
page found where no page expected in the execution of ntoskrnl.exe (paraphrased) nickmight Technical Support 0 March 25th, 2004 03:28 PM
need graphic design for your page? drunknsailor1 Webmastering and Programming 1 October 26th, 2003 02:33 PM
Web Page Design, cowboybooter Graphic Design and Digital Photography 7 July 24th, 2003 02:14 AM
downloaded something page by page from the net.. how do i change all the links?? zskillz Technical Support 8 October 3rd, 2002 02:37 AM

Most Active Discussions
Is It Just Me? (2906)
3-days in and no threads about Gaza (161)
Misery Loves Company... (2144)
New Build ( Finally ) (7)
CPU wont boot (7)
Building a gaming computer advice (5)
I think I just killed my computer w.. (24)
RCA 52Inch HDTV wont turn on (5)
Folderchat Weekday thread (444)
Recent Discussions
Futronix has water features? (0)
Laptop proccesor to desktop mob.. (2)
Please help! multiple problems! (4)
RCA 52Inch HDTV wont turn on (5)
New Build ( Finally ) (7)
Common Spyware Solutions (97)
How do you move a hard-drive to.. (4)
What is the best external enclo.. (0)
Partition Magic 7.0 (Unallocate.. (17)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 04:27 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



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