Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-30-2006, 07:34 PM Postioning Help
Junior Talker

Posts: 2
Name: Dave
Trades: 0
I am trying to create a webpage that postions the header graphic with no space between the graphic and the browser. Can anyone help me out?

I am using Dreamweaver but can add the code myself if necessary.
Trout is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-30-2006, 07:37 PM Re: Postioning Help
felguard's Avatar
Skilled Talker

Posts: 54
Trades: 0
If you use CSS, you could do this:

Quote:
body {
margin: 0px;
}
__________________

Please login or register to view this content. Registration is FREE
-
Love Your LED Endlessly
Please login or register to view this content. Registration is FREE
felguard is offline
Reply With Quote
View Public Profile Visit felguard's homepage!
 
Old 10-30-2006, 07:42 PM Re: Postioning Help
Junior Talker

Posts: 2
Name: Dave
Trades: 0
CSS is new to me but I am sure that is how I will make this work so I have been playing around with it.

How would I go about centering the grapic as well? I would want it to center on any screen resolution such as when I place a table in the center.
Trout is offline
Reply With Quote
View Public Profile
 
Old 10-31-2006, 03:47 AM Re: Postioning Help
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
CSS:
HTML Code:
#header {
         width:width_of_image_in_pixels;
         margin:0 auto;
}
HTML:
HTML Code:
<div id="header"><img src="image_path_and_name" alt="Alt attribute text"></div>
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-31-2006, 10:15 AM Re: Postioning Help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
In addition to that, for IE6 and below, you'll also need to add this to your body rules: text-align: center . You would then have to add text-align: left to your containers and/or divs to realign the text. Short of using percentages for all your widths, this is the only way IE ( 6 and below) is going to center your layout.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 07:04 AM Re: Postioning Help
Skilled Talker

Posts: 94
Trades: 0
if you cant use CSS, then you can always use tables to store your images in and use absoluteosition; to position them where you want. "i think" :>
hellhound121 is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 10:13 AM Re: Postioning Help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yah.. and that would be a bad idea.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 10:32 AM Re: Postioning Help
Skilled Talker

Posts: 94
Trades: 0
well you know best :P its how i use to do it before i knew how to do it.
hellhound121 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Postioning Help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30964 seconds with 12 queries