Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Website forms in dreamweaver
#81
What would you suggest? I have looked at those sites, but they really aren't similar to my situation. Don't get me wrong, you've helped me alot. The reason why I use absolute positioning is so that I can overlap layers, I can't do that with other positioning. If I knew how to overlap pictures and/or text using another method, I would, but this is the only way I know how. I tried getting rid of the px on all of the layers, but it has the same effect with the screen resolution.
Not yet Snake! It's not over yet!
Reply
#82
Quote:What would you suggest? I have looked at those sites, but they really aren't similar to my situation. Don't get me wrong, you've helped me alot. The reason why I use absolute positioning is so that I can overlap layers, I can't do that with other positioning. If I knew how to overlap pictures and/or text using another method, I would, but this is the only way I know how. I tried getting rid of the px on all of the layers, but it has the same effect with the screen resolution.
If you need to have pictures under your text you have two options:
  • Just use CSS do make a background image in a menu class so the image you need is under your text. Either make the class have a constant size to save face for the inability for your image to tile, or use an image editor such as the GIMP that has something to make the image look seamless so you can use percentages to define it. Note that there are CSS properties to make your image only tile on the x or y axis if you want to make a single image go across the screen in only one direction. If you want to make a gradient this can certainly save bandwidth because it only requires you to have an image that is at least one pixel wide or tall depending on the direction you are going.
  • Make individual images. This isn't very friendly, though since it disallows you to use percentages and it wastes bandwidth.
[Image: 1403.png]
^ Infrosoft
http://www.thecodeyouneed.us.to/ - A wiki of source code, mostly in PHP and FreeBASIC
http://www.osadvocacy.uk.to/ - Your opinion matters no matter your OS
Reply
#83
what layer positioning would you recommend? I've only been using absolute for the most part up until now.
Not yet Snake! It's not over yet!
Reply
#84
I recommend you create 1 div only with absolute positioning for each column in your web design if you choose to make a column web design. The rest of the divs should have no specific positioning. Rather they should just be specified to have a width of 100% + any other attributes or classes. You should be able to get away with using percentages only when specifying the left attribute for the wrappers(because web pages run down feel free to be liberal with using px and em on top). If you position the logo on top in a wrapper over the three divs, then you can get away with percentages all the way. However, if you have a design like Wikipedia's where the logo is put left it might be better for you to use ems to position the wrappers for the menu column and the left attribute for the main content div.

If you have a row based design(only one straight column of content with menus running horizontally only) I recommend 1 div with absolute positioning with the rest of the divs running 100%.

Remember to insert a line break tag after each div in the wrapper so there is a space.
[Image: 1403.png]
^ Infrosoft
http://www.thecodeyouneed.us.to/ - A wiki of source code, mostly in PHP and FreeBASIC
http://www.osadvocacy.uk.to/ - Your opinion matters no matter your OS
Reply
#85
Alright, this seems to be working. Thanks alot for the help.
Not yet Snake! It's not over yet!
Reply
#86
I know it's been a while since this thread has been active but I'm not out of the woods yet. I'm trying to use a relative positioning format for the website. I've almost got it working. I'm just having problems getting the pop-up menus to show. Rather than making the menus in fireworks I decided to make them in dreamweaver. I keep getting an error saying that an object was expected on the first character of this line:

Code:
<script language="JavaScript1.2">mmLoadMenus();</script>

This is directly below the Body tag.

Making the layers relative was just an idea to make it so the text would be highlight-able, if you check the site out now you'll see you can't select the text in internet explorer. Here's a link to the site: www.merrimack.org
Here's a link to the test page: www.merrimack.org/mrwc/test2.html

If you know of a quicker method of getting both the text being highlight-able and keeping the page centered while using absolute positioning let me know.
Not yet Snake! It's not over yet!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)