Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2009, 12:27 PM   #1 (permalink)
Contributing Member
 
AZ_Scott's Avatar
 
Join Date: 04-14-09
Location: Phoenix, AZ
Posts: 85
iTrader: 0 / 0%
AZ_Scott is liked by many
Web site sizing: fluid designs

Hi V7n,

Last night I was at a friends house browsing my site with his Mac using Safari. My site looks fine on my home PC but on his the fonts were huge the background images were extending beyond his monitor and the overall look of the site was bad. I've read the entire thread "Website Size" in this forum, I understand there is way to code that allows the website to size as a % of the users resolution settings. I just need to know where to start. Would it require an entire redesing of my site or is it some html I can cut and paste into my existing site sans-moi.com?

Thanks in advance to all v7n contributers,

Scott
AZ_Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2009, 02:13 PM   #2 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
maybe this will help?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 STRICT//EN" "http://www.w3.org/TR/HTML401/strict.dtd">
<html dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title></title>
</head>
<body>
<p>
<script type="text/javascript"><!--
if (screen.width <= 800) window.location.href='if800.html';
//--></script><noscript>
Please enable javascript to view this webpage correctly!
</noscript>
</body>
</html>
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2009, 02:19 PM   #3 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
Maybe that's not exactly what you were looking for, after re-reading your question. You can also change all your parameters, including for fonts, to percentages.

I'll shut up now and let someone else help who understands what you are trying to do ; )
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2009, 03:35 PM   #4 (permalink)
Member
 
danf's Avatar
 
Join Date: 04-14-09
Posts: 34
iTrader: 0 / 0%
Latest Blog:
None

danf is liked by many
You can style your page either inside the html or by creating a separate css file. You can start by looking here:

http://www.w3schools.com/html/html_styles.asp
http://www.w3schools.com/css/css_font.asp

The second link shows you how to use relative sizing which hopefully will solve your problem. You shouldn't have to start over on your website.
danf is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-10-2009, 06:38 PM   #5 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
I figured out at least some of your problem.

I just looked at your site in IE, Safari and Firefox on a PC, and it all looks the same to me as it looks on your friends' computer. Even worse, on my huge screen, the yellow box isn't even on the background.

I looked at your code, and your major problem is that you haven't defined anything and have a gigantic picture set as your background. If you don't want to learn CSS, there's a quick fix that will solve most of your problems. Make the background image no more than about 1000 px wide. You can also fix it within your HTML by setting the height and width parameters.

Plus, you are using tables. I'm not going to tell you that's a no-no, but with the background image that you have, you really need to define the width of the tables to no greater than the width of the background image.

Third, I would center the whole website. That would be a much more professional look.

Fourth, I would define the the font sizes. You haven't really defined them at all, leaving the user's system to figure out what a size "7" is. Make them a specific size.

If you don't know how to do any of this, the best thing is to go to Google and type in the key phrases for each and look at examples.
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2009, 02:41 PM   #6 (permalink)
Contributing Member
 
AZ_Scott's Avatar
 
Join Date: 04-14-09
Location: Phoenix, AZ
Posts: 85
iTrader: 0 / 0%
AZ_Scott is liked by many
Guys I really appreciate your time and effort on my website. Thank you and I'll begin incorporating CSS thanks to the turoials.
AZ_Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 11:00 AM   #7 (permalink)
Contributing Member
 
AZ_Scott's Avatar
 
Join Date: 04-14-09
Location: Phoenix, AZ
Posts: 85
iTrader: 0 / 0%
AZ_Scott is liked by many
Zannuci,

I took your advice for a quick fix and converted to of the images on my site from width = 1600 to width =- 1000 using Windows Paint application. On my home PC the image is tiled. Is there anyway to modify the html (below) to achieve relative sizing?

<body bgproperties="fixed" background="images/2006-05%20Mindbender%20033!.jpg" alink="#00FF00">
AZ_Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 12:08 PM   #8 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
You can use the no-repeat attribute for your background.


I must have missed something in your code.
Let me go look again. You've got something strange going on.
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 12:25 PM   #9 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
Here you go. Replace your HTML with this.

removed by author--see next comment.


It's got a lot of funny FrontPage stuff in it. All I did was fix your width problem.

Last edited by zannucci; 06-12-2009 at 12:30 PM..
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 12:30 PM   #10 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
Hey, look at your source code for your main page. Frontpage has added a few hundred "&nbsp;" at the bottom of the page in two different lines. That's the problem, I promise.

Just delete all those that you see after your "Links" link, and you'll be good to go.

Just to make sure that was your only problem, I ran your code on my pc, and it was just fine.
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 02:04 PM   #11 (permalink)
Contributing Member
 
Join Date: 05-10-09
Location: Blackpool
Posts: 156
iTrader: 0 / 0%
Latest Blog:
None

Blackpool is liked by many
Quote:
Originally Posted by zannucci View Post
I figured out at least some of your problem.

I just looked at your site in IE, Safari and Firefox on a PC, and it all looks the same to me as it looks on your friends' computer. Even worse, on my huge screen, the yellow box isn't even on the background.

I looked at your code, and your major problem is that you haven't defined anything and have a gigantic picture set as your background. If you don't want to learn CSS, there's a quick fix that will solve most of your problems. Make the background image no more than about 1000 px wide. You can also fix it within your HTML by setting the height and width parameters.

Plus, you are using tables. I'm not going to tell you that's a no-no, but with the background image that you have, you really need to define the width of the tables to no greater than the width of the background image.

Third, I would center the whole website. That would be a much more professional look.

Fourth, I would define the the font sizes. You haven't really defined them at all, leaving the user's system to figure out what a size "7" is. Make them a specific size.

If you don't know how to do any of this, the best thing is to go to Google and type in the key phrases for each and look at examples.
I just did a demo version of this to see if it would work and yes it did. I agree to with the centering of the website.
__________________
Norbreck Castle Hotel - Best Blackpool Hotel
Britannia Hotels - Hotels in England
Blackpool is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 07:18 PM   #12 (permalink)
Contributing Member
 
AZ_Scott's Avatar
 
Join Date: 04-14-09
Location: Phoenix, AZ
Posts: 85
iTrader: 0 / 0%
AZ_Scott is liked by many
Thanks again I'm getting closer but I still have the tiling issue. If I and the "no-repeat"


<body bgproperties="fixed" background="images/2006-05%20Mindbender%20033!.jpg" alink="#00FF00" background-repeat: no-repeat>

I get no improvement, I'm just starting the CSS tutorials so I may be a way out from discovering the solution. I'd sure appreciate a review of the site after I remvoed the &nbsp and a quick way to get the background to satblize for each evry browser/monitor config.

Scott
AZ_Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 07:48 PM   #13 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
Are you sure you are really trying? ; )

Here you go:

<div style="background-image:url(/images/2006-05%20Mindbender%20033!.jpg); background-repeat:no-repeat;>
</div>
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 08:06 PM   #14 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
I'm glad to keep taking a look.

If you want your tables to show up, more or less, the same regardless of resolution, you are going to have to designate specific widths instead of percentages.

When you get that done, and stop the tiling, see if it makes any real difference to you from one browser to the next. It already looks pretty darn similar to me.

You can use the style code to set your font sizes by em as another step.

In my opinion, absolutely no offense to you, but you are never going to get this site exactly the same for every possible browser/resolution/user setting. You simply aren't writing it that way. We'd practically have to go line by line to get significantly closer than you will end up once you've made the suggested changes.

By the way, I just pulled CNN up in Safari, Firefox and IE and there are very slight differences to each.

Just fix your background problem and table problems, and I think you are done. I'll be glad to keep looking at it for you, but don't get too anal, particularly when you are relying on FrontPage.
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 08:13 PM   #15 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
Oh, and set the font sizes, too.
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 08:36 PM   #16 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,150
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
Quote:
Originally Posted by AZ_Scott View Post
<body bgproperties="fixed" background="http://www.v7n.com/forums/images/2006-05%20Mindbender%20033!.jpg" alink="#00FF00" background-repeat: no-repeat>
All this stuff should really be in your external stylesheet, but to fix what you have:

a) change the name of your background image so it doesn't have spaces. Some web servers and browsers don't like space in the names. The %20 is where the spaces are. This is a common problem as Windows lets you do this.

b) try putting quote marks around "no-repeat".
__________________
HTML Basic Tutor - Learn to code your web pages/blogs to be cross-browser compatible
Basic Computer Information - Computer Basics for website owners

Need a Web Page Technical Review? Pm me.

Last edited by htmlbasictutor; 06-14-2009 at 10:05 PM..
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 08:56 PM   #17 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,150
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
From the W3C validator results:
Quote:
no document type declaration;
DOCTYPE declaration lets the browser know what HTML standard you are coding to.

Quote:
Attribute "BGPROPERTIES" is not a valid attribute
Backs up the point I made earlier. Acceptable attributes for the body tag can be found here: HTML <body> tag

Quote:
Attribute "BORDERCOLOR" is not a valid attribute
This refers to the start of a table at line 20. Acceptable attributes for the table tag can be found here: HTML <table> tag

Quote:
Attribute "HEIGHT" is not a valid attribute.
A table's height is determined by the number of rows it has and the content within the cells in those rows. Height is not an acceptable attribute of the table tag (refer to the link above). It never was.

Quote:
document type does not allow element "P" here
This refers to line 50 of your code. You didn't close the paragraph above at line 47.

Quote:
end tag for "FONT" omitted
This refers to line 54 of your code. As of HTML 4.01, all tags are to be closed (with a few exceptions). Also the font set of tags have been depreciated.

Quote:
end tag for "I" omitted, but its declaration
Same problem as last note, not closed.

Quote:
end tag for "B" omitted
Same problem as last note, not closed.

While you are fixing things up, change your file names in your links also. You have spaces in the names. Use a hypen or underscore between words if you want spaces between the words.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs to be cross-browser compatible
Basic Computer Information - Computer Basics for website owners

Need a Web Page Technical Review? Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2009, 10:14 AM   #18 (permalink)
Contributing Member
 
AZ_Scott's Avatar
 
Join Date: 04-14-09
Location: Phoenix, AZ
Posts: 85
iTrader: 0 / 0%
AZ_Scott is liked by many
hey no offense Zan, just the opposite. I was looking for some critique! I'm not married to Front Page it just come free with a MS Office package I got through work. I've read the Pro's/cons but I thought some people are just prejudiced against all MS products and there was probably nothing I can't over come.

Quick question when I <CUT><PASTE>
<div style="background-image:url(/images/2006-05%20Mindbender%20033!.jpg); background-repeat:no-repeat;>

into my index.htm page it adds a bunch of

&gt; &lt;p&gt;&lt;b&gt;&lt;i&gt;&
</div>
AZ_Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-14-2009, 10:05 PM   #19 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,150
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
You can't cut and paste coding into Design view. You have to switch to Code view.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs to be cross-browser compatible
Basic Computer Information - Computer Basics for website owners

Need a Web Page Technical Review? Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 06-15-2009, 08:53 AM   #20 (permalink)
Member
 
Join Date: 06-02-09
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

zannucci is liked by many
yup, sounds right.

I really don't know anything about FrontPage except from what I occasionaly read about it.
zannucci is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply


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

BB 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
Sizing my sidebar, vertically Bruce.Siegel Web Design Lobby 6 01-05-2009 02:13 PM
Photo Shop re-sizing.. WM-Scott Digital Photography Forum 3 04-08-2008 02:49 AM
2 table sizing options bigmack83 Web Design Lobby 2 03-21-2008 02:19 PM
Fluid Mask reteep Graphic Design Forum 5 08-25-2006 02:23 AM
Video Re-sizing Superdairyboy Web Design Lobby 4 10-14-2003 05:57 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:53 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.