Having some issue's in Dreamweaver. Anyone help ?!?
Page 1 of 1
Mythril




Posts: 699
Location: Playing Hunt: Showdown
PostPosted: Mon, 22nd Dec 2008 23:11    Post subject: Having some issue's in Dreamweaver. Anyone help ?!?
Afternoon all Smile

I've been trying to do a web site for a friend for a week or so now and I've come across a few problems. Now I don't know all that much about Dreamweaver so I've kinda played around and sort of come up with something that's not a million miles away from what he wants.

The problem is that the page is not centred in different screen resolutions. It's always to the left and it's starting to do my head in This is the other thing. I've used the tool Draw AP Div to create a box that both text and pictures can go into. Works great apart from they move slightly in IE or Firefox. In IE it all looks ok but moves in Firefox. What am I doing wrong ? Is there any way I can lock these boxes so that they never move ?

A little while ago I did another web site for my mothers animal charity www.hedgehogcare.co.uk I had the exact same problems there but if you click the link you'll see what I mean if you view the site in both Firefox and IE.

I've a funny feeling it's something to do with tables but god knows how to use them. That's a little above my head.

Please if there is anyone that can help me out here I'd be very greatful.

Regards,

Mythril


---=== AMD Ryzen 7 9800X3D / RTX 4090 FE / 32GB DDR5 6000 / 2TB Gen 5 M.2 / 1 x TB M.2 / 45" Corsair Flex / ASUS ROG Ryujin III AIO / SoundBlaster AE-5 Plus / Lian Li 011 Dynamic XL / Logitech MX Master S2 / Logitech G915 TKL / Steelseries Arctis Pro Wireless ===---
Back to top
$en$i
VIP Member



Posts: 3127

PostPosted: Tue, 23rd Dec 2008 03:21    Post subject:
if you want to align a page to the center simply use the code below for your wrapping div or table.
Code:
margin:0 auto;

e.g.:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#wrapper {
   background:#000;
   color:#FFF;
   height:600px;
   margin:0 auto;
   width:920px;
}
</style>
</head>
<body>
<div id="wrapper"> Put your content here </div>
</body>
</html>
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group