Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,255
Total Threads: 81,187
Total Posts: 566,914
There are 35 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming :

Noob question for a simple intro page - centrally align image

Thread title: Noob question for a simple intro page - centrally align image
Reply    
    Thread tools Search this thread Display Modes  
08-02-2010, 08:26 AM
#1
carmen_electra is offline carmen_electra
Status: Member
Join date: Oct 2009
Location:
Expertise:
Software:
 
Posts: 117
iTrader: 3 / 100%
 

carmen_electra is on a distinguished road

  Old  Noob question for a simple intro page - centrally align image

Very noob question,

I want to make a really simple intro page ... just a big image in the middle of the page with some button links on

I made it in Dreamweaver and centrally aligned it but if I open up on a smaller browser window, on the bottom it shows the horizontal slider which I don't want it too

I know why, coz my image I'm using is 1200 pixels wide --- but I don't want to use it as a background image as I have links on it used as maps

Anyone help a quick solution?

http://www.hamiltonwatch.com/webapp/...10/index1.html

Reply With Quote
08-02-2010, 08:31 AM
#2
Fez is offline Fez
Fez's Avatar
Status: Member
Join date: Jun 2010
Location: Saudi Arabia
Expertise: HTML, CSS, Wordpress, jQuery
Software: e-texteditor
 
Posts: 206
iTrader: 2 / 100%
 

Fez is on a distinguished road

Send a message via MSN to Fez

  Old

set this css property to your "body"

Code:
body{
overflow: hidden;
}

Reply With Quote
08-02-2010, 08:45 AM
#3
carmen_electra is offline carmen_electra
Status: Member
Join date: Oct 2009
Location:
Expertise:
Software:
 
Posts: 117
iTrader: 3 / 100%
 

carmen_electra is on a distinguished road

  Old

no doesnt work coz then the browser still starts with it in the top left hand corner

it should open the page centrally

know what i mean?

Reply With Quote
08-02-2010, 02:25 PM
#4
santa is offline santa
santa's Avatar
Status: Member
Join date: Mar 2009
Location: Location: location.
Expertise: Design, HTML
Software: Espresso, Photoshop, Mail.app
 
Posts: 398
iTrader: 7 / 100%
 

santa is on a distinguished road

Send a message via ICQ to santa Send a message via AIM to santa Send a message via MSN to santa Send a message via Yahoo to santa Send a message via Skype™ to santa

  Old

Code:
body, html { overflow-y: hidden !important; overflow: hidden; text-align: center; }
img { width: 1280px; left: 50%; margin-left: -640px; }

Reply With Quote
Reply    


Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed