iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-24-2004, 03:18 AM
WebProWorld New Member
 
Join Date: Mar 2004
Location: NJ
Posts: 4
schoener RepRank 0
Default Alignment question

Hello,
I am new to web design and I have enjoyed reading everyone's comments. I have a question that I hope someone could answer. I would like to be able to have a table/graphic go to the top of the page and to be able to have this image adjust, across the screen, accordingly with any changes in screen resolution. So far I have been able to do one or the other but not both. By using layers I have been able to have a layer go to the top. However, the layer does not extend across the whole page at different screen resolutions. I have been able to have a table stretch across the whole page. However, I can't get the table to extend all the way to the top. Is there a way of creating both goals?
Thanks in advance for any help
Scott
Reply With Quote
  #2 (permalink)  
Old 03-24-2004, 09:43 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: Pittsburgh, PA, USA
Posts: 109
ChrisRC RepRank 0
Default

I'm not sure exactly what you're trying to do here, but I do have a couple comments/suggestions as a starting point:

* Don't use layers. <layer> isn't part of the HTML spec, it was a proprietary Netscape tag in the 4.x days. IE never supported it - and I'm pretty sure newer Netscape/Gecko products don't either. If you're using/designing for a browser that does support layers, that might complicate things a bit.

* [img]thisimage.jpg[/img] will work. But is this really what you're asking for? it will stretch the image as you resize the browser.

* both table and div (which you should be using instead of layer) can have thier width set to 100%, is that what you're doing?

* What's stopping your table from being at the top of the page? Have you set your margins and padding, for both body and table to 0?

Sorry if I haven't addressed your actual problem. Some example code might be helpful.

Chris
crcdesign.net
Reply With Quote
  #3 (permalink)  
Old 03-24-2004, 07:31 PM
WebProWorld New Member
 
Join Date: Mar 2004
Location: NJ
Posts: 4
schoener RepRank 0
Default Thanks ChrisRC

Chris
You gave me the answer. I had to set the top margin. This site is the greatest. Thanks to kind folks like yourself. This was driving me crazy. Thanks, that saved me alot of time.
Scott
Reply With Quote
  #4 (permalink)  
Old 03-25-2004, 06:40 PM
WebProWorld Member
 
Join Date: Jul 2003
Location: NJ
Posts: 40
steve-parrott RepRank 0
Default Use flash for images

If you need an image to resize, the only way I know is to put the image in a Flash movie and set the movie to 100% of screen size. Keep in mind that only vector based images will resize without image degradations.
Reply With Quote
  #5 (permalink)  
Old 03-26-2004, 02:28 AM
WebProWorld New Member
 
Join Date: Mar 2004
Location: NJ
Posts: 4
schoener RepRank 0
Default Thanks Steve

I think that is a great idea. I have a follow up question to an earlier reply. What is wrong with using layers? The seem easier to use with Dreamweaver. I have checked the results in Oprah, Mozilla, IE and Netscape. They all seemed to come out fine. Could someone elaborate on this. Thanks again.
Scott
Reply With Quote
  #6 (permalink)  
Old 03-26-2004, 09:13 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: Pittsburgh, PA, USA
Posts: 109
ChrisRC RepRank 0
Default

What's the advantage of using flash?

I'm sorry for the confusion about "layers". I don't use dreamweaver, but I did some checking and apparently what they call layers are not actually <layer>s but rather absolutely positioned <div>s. Someone who actually uses the program can correct me if I'm mistaken on this.

I would advise using relatively positioned divs, rather than absolutely positioned in most cases - but that recommendation is not nearly as strong as the one not to use <layer>s

Chris
crcdesign.net
Reply With Quote
  #7 (permalink)  
Old 03-26-2004, 08:43 PM
WebProWorld New Member
 
Join Date: Mar 2004
Location: NJ
Posts: 4
schoener RepRank 0
Default ok thanks

Thanks agian for the clarification. I am in the process of learning CSS. I appreciate your advice. It has been helpful.
Scott
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

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



All times are GMT -4. The time now is 11:51 AM.



Search Engine Optimization by vBSEO 3.3.0