|
|||||||
| HTML Discussion and technical support for building, using and deploying HTML sites. |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
style sheet and layout
I am in the process or designing a website and thought I would cross check it with different browsers.
Initially I was using Microsoft IE when designing and was a bit confused when I compared it in the other main browsers - Opera, Safari & Firefox I have no idea how I get them all the display the same. As you can see compared to IE, in opera, the black border outline is not present. and in firefox, my top Bar where the logo is, does not stretch completely across the page. And the Left Menu is totally different, wiv diff colours, layout etc Can someone help me. Is the style sheet to blame? And also how do I get a Link to open up a Page in the Centre of my website, instead of using a template for the website design for each and every page. Tis a pain if I change Links as every page would have to be done manually. www.troublefreetraveladvisor.com/try4.html |
|
#2
|
||||
|
||||
|
Start by correcting the errors the validators detect:
http://validator.w3.org/check?uri=ht...om%2Ftry4.html http://jigsaw.w3.org/css-validator/v...usermedium=all
__________________
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be." ~ Terry Pratchett in Nation Kindle Minds (blog about Amazon Kindle) |
|
#3
|
||||
|
||||
|
IE doesn't comply to internet standards - while things may look great in Netscape, Safari and Firefox, IE will always be a little bit off. Since most people use IE it wouldn't be a horrible idea to design around IE.
As for changing all your file names, hit ctrl+f to find all the links and replace them with the correct file names. Also, you can combine both of your styles -Sta12s |
|
#4
|
||||
|
||||
|
design for firefox, then work to accomidate to the ie bugs. as NopDog said validating will help out alot.
__________________
Welsh |
|
#5
|
||||
|
||||
|
Quote:
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#6
|
||||
|
||||
|
think he means:
Quote:
__________________
Welsh |
|
#7
|
||||
|
||||
|
lol - first of it's a SHE
Second - where is the "ill logic"? In designing around IE or the fact that microsoft can't design a deceint product? Jus a friendly Q ... -Sta12s |
|
#8
|
||||
|
||||
|
The illogic is using as a reference an admitted defective tool. It's like saying, "Yeah, we all know this ruler has 13 inches in a foot but we'll build this house with it anyway because that's what most of our carpenters have."
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#9
|
||||
|
||||
|
There is no ill logic;
Most people buy PC's Most people wont download a new browsers because they don't know how Most people have IE It's not a HORRIBLE (mind you I said Horrible) idea to build around IE for that simple reason. So in actually it is ill logical to build around anything BUT IE if your demographics fits that niche. Otherwise - if you're building for a demographic that doesn't prefer IE and actually knows how to download and use a better browser, then you should gear it twords w3 standards. BTW - does w3 have a book out? I know they have pdf's and txt files you can download, but my printer couldn't handle printing all that out. Any sujestions on a GREAT book that adhires to standards? Much appriciated from the "ill logical" one ... rofl
__________________
function Sta12s(){ var userPeer; if (userPeer == "eLeetist" || userPeer == "snob") {return loser}; else {return buddy}; } |
|
#10
|
||||
|
||||
|
Quote:
Quote:
You have way too much to learn still, grasshopper. |
|
#11
|
||||
|
||||
|
Ok, first off - Web sites are marketing tools. This guy has a travel website - he needs to know the kinds of people that will be visitng his site before he can build anything - PERIOD
But, he already has something built - considering that he programmed around IE it's not a bad idea to sit down and think about the fact that most people visiting his site might be IE users - or they might not. The fact is there is a HUGE demographic out there that doesn't know how to use their PC! I just had a guy in a class ask me if it was ok to pull the plug out of the back of the comp!! There are people like this still in world. So long as that is the case, there will always be that demographic that won't using anything but IE 7 because
I still have much to learn, but I've known that since I was a kid. Besides, insted of helping and recommended a good book - you descided to state the obvious ... thanks
__________________
function Sta12s(){ var userPeer; if (userPeer == "eLeetist" || userPeer == "snob") {return loser}; else {return buddy}; } |
|
#12
|
||||
|
||||
|
Quote:
Quote:
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#13
|
||||
|
||||
|
Quote:
|
|
#14
|
|||
|
|||
|
Quite a debate into Browsers. from my experience i see how important it is and will not use IE during my Coding etc & will preview with FireFox.
I've had some advice that I should use a 3 Column Layout instead of Tables. Heres an example - http://bonrouge.com/3c-hf-fluid.php Is this a good idea. If so i am thinking of using the example, removing the existing CSS stylesheet, re label the Div ID's and re-do my current webdesign, into this structure & hopefully after some time, get it back to how the design was before and be compatibly across the browsers unlike now. If i use this example. Can i then direct links to open up by simple directing them to the e.g <div id="content"> which would be my center Column. what type of code would i use to do this, javascript? i also heard that i should change the site to .php? recommended? Im going on holiday for a week and i wanna return and really make a good effort in having a good website design which i can get up and running, without my previous coding errors. |
|
#15
|
||||
|
||||
|
BonRouge has some good stuff and is a visitor here. Fluid designs can be tricky so be careful.
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|