June 16, 200818 yr Hello, I've been working on a website in Dreamweaver with backgrounds and bottonimages which I've made in PS. The background images i designed in a 1024x768 pixel resolution. I've made a test website and uploaded it to my webhotel which works just fine, BUT... I viewed the test website on a high resolution monitor (1900x1200) and as the browser size is, of course, bigger than my 1024x768 design, the test website seems to, what can you call it, replicate or duplicate itself. And when dragging the browser window smaller than 1024x768 the elements, images and text seemes to be pressed together. What can i do to lock/freeze my web design with all it's element in it in my 1024x768 design? Thx for helping Nicklas!
June 16, 200818 yr If u'r site wan't be flexible on hight u put all content in 1 main div, then u have to define hight and width off that div. That will lock dimensions off all page. But only problem u must be carefull there is background, if it has some graphic that matches content off main div will be bit tricky to make it fine Hope this helps
June 16, 200818 yr Author hello I'm afraid I don't quite understand, b'cuz I'm a beginner at designing websites! Can you explain how I do step by step in DW? Nicklas
June 16, 200818 yr Try preventing repeating your background images with CSS. . . . . background-repeat: no-repeat; W3 Schools if that's what you meant . . .
June 16, 200818 yr Author I did that in dreamweaver now in "page properties" and that works okay, but now my site just sticks to the left side of the browser window. And the text still collapses when i make the browser small! Know how to fix that as well? I want my page to "act" just like Aurora's www.design-aurora.net. Regards, Nicklas!
June 19, 200818 yr he he thanks ok this way: First thing u have to do is make 1 div then put all your content in it (its like a bag) means all that u have on your page must be in that div, then any centering off that div will pull content in center 2. when u done with that give dimensions to that (bag) div, when u done that all that is left is to center div (to tell him not to stick to left side off page) u do that in dw by selecting div, then u go to new css rule, and put left and right margin on auto, that tells browser to center that div. hope this helps
June 19, 200818 yr yea thats it but he uses Dw he doesnt have to code it, he can easily set it up and code will 100% pass validation. this is how code should look like: <head> <style type="text/css"> #container { width: 1024px; height: 768px; position: relative; margin-right: auto; margin-left: auto; } </style> </head> <body> <div id="container"> ... rest of content ... </div> </body> If it's not a problem send link to that web page so we can see whts going on
Create an account or sign in to comment