Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

Quick HTML question...

Old 09-02-02, 12:46 AM
DVD Talk Special Edition
Thread Starter
Join Date: Jul 2000
Location: San Diego, California
Posts: 1,809
Quick HTML question...

If all I wanted was just an image in the center and nothing else, what would be the best way to do that? Do I just add a lot of breaks and center an image? I just want the image to load centered in the middle of the screen, with no scrolling needed or anything.

freedexter is offline  
Old 09-02-02, 02:54 AM
DVD Talk Gold Edition
Join Date: Feb 1999
Location: HB, CA
Posts: 2,601
Create a table with one cell. Set the table for 100% height and width. Set the alignment in the cell to centered.

<table height="100%" width="100%">
    <td align="center">
      <img src="file">
belboz is offline  
Old 09-02-02, 06:37 AM
Senior Member
Join Date: Sep 1999
Location: VA
Posts: 751
You can use the div tag:

<div align="center"> <img src="pic"> </div>
jmaxlow is offline  

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

Thread Tools
Search this Thread

Archive Advertising Cookie Policy Privacy Statement Terms of Service

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.