ClioSport.net

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



  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.
 
  Fiat Panda 100hp
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:)
 

sn00p

ClioSport Club Member
  A blue one.
Eww....Dreamweaver!!!

CSS is the shizzle. Sooooooooooooooooooooooooooo much easier, even including the tweakage required for multi browser conherancy.
 
  172
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;
 

sn00p

ClioSport Club Member
  A blue one.
Motion Carried.

Next person to mention dreamweaver or tables based layout gets stoned to death. (with rocks that is).
 

Red Cup

ClioSport Club Member
  Focus RS
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;}
 
  20VT Clio & 9-5 HOT
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.
 

KDF

  Audi TT Stronic
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 ;)
 
  306 TD Slut
just looked at that macromates.com


is there a design mode?

it does the same as dreamweaver but just has short cuts etc..?
 
  172
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!
 


Top