ClioSport.net

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Website differs in browsers

Car  Fiat Panda 100hp
In IE its like...

2a9qvc1.gif


And in firefox its like

33vnds8.gif


anyone know a way around this, I want it to be in the centre.

Thanks
 
if you want it to be center in IE, there is a bodge:

put <center> just after the <body> tag,

and </center> just before the </body> tag. should sort it right out.
 
like so?
<head><center>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="_ict technician_" />
<meta name="keywords" content="_vorax,pc,computers,upgrades_" />
<meta name="author" content="_benwall_ / Original design: Vorax Systems - http://wwww.vorax-systems.co.uk/" />
<link rel="stylesheet" type="text/css" href="andreas01.css" media="screen" title="andreas01 (screen)" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
<title>Vorax Systems UK</title>
</center></head>
 
no, instead of putting it round the <head> & </head> tags, use the <body> and </body> instead

so like

<body><center>

all ur code here blah blah

</center></body>
 
No style properties should be in the HTML page at all. :p

As Craig says, CSS is where that stuff goes.. (altho, I don't use any graphical tools to make sites so dunno how easy it would be to make Dreamweaver make proper sites :rasp:)
 
Eww....Dreamweaver!!!

CSS is the shizzle. Sooooooooooooooooooooooooooo much easier, even including the tweakage required for multi browser conherancy.
 
Wrap all the elements within the body take in a div and apply the following styles to the div:

margin-left:auto;
margin-right:auto;
 
Motion Carried.

Next person to mention dreamweaver or tables based layout gets stoned to death. (with rocks that is).
 
Wrap all the elements within the body take in a div and apply the following styles to the div:

margin-left:auto;
margin-right:auto;


No need for that div.

Make sure you're using the correct Doctype, then add this to your CSS:

body {margin:auto; width:760px;}
 
dreamweaver is good. I use it... but purely for previewing my code, and managing sites.

as long as you keep away from all the design crap, its a handy tool.
 
When coding on windows boxes I use dreamweaver as it does a nice job of highlighting the code and can close functions when working on large scripts.

On linux im spoilt for choice ;)
 
just looked at that macromates.com


is there a design mode?

it does the same as dreamweaver but just has short cuts etc..?
 
Wrap all the elements within the body take in a div and apply the following styles to the div:

margin-left:auto;
margin-right:auto;


No need for that div.

Make sure you're using the correct Doctype, then add this to your CSS:

body {margin:auto; width:760px;}
Fair enough, I thought you couldn't do it on the body as it would go full screen regardless. I'll give it a try on the next site!
 
Back
Top