|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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.
|
|
|||
|
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 |
|
|||
|
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |