Hey all,
What I'm trying to do is get the an image that is located in a frameset on the bottom half of a page to align with an image on the top half.
Just follow me here a sec...
I have 2 Framesets - one on top and one on bottom of a web page (the 2nd is embedded in the 1st one). The top frameset has a header image that is centered. The bottom frameset is divided into 2 columns -- on the left is a navigation bar and on the right is where the content appears.
Ok - simple enough? Here's the code:
(frameset rows="145,*" cols="*")
(rame name="topframe" src="mysite.com/top_frame.html" scrolling="no")
(frameset cols="20%,*" rows="*" bordercolor="#cc0000")
(frame name="navframe" src="mysite.com/nav_frame.html" scrolling="no")
(frame name="contentframe" src="mysite.com/content.html" scrolling="yes")
(/frameset)
Anyway, I'd like for the contents that are located in the navigation frame (the "nav_frame.html") to align themselves more to the center of the image in the top frame (the "top_frame.html") REGARDLESS of how wide the screen resolution gets.
I've tried playing around with the "COLS" and "ROWS" attributes and have set them to different percentages but when I view the result in a browser the contents in the "nav_frame.html" appear all the way flushed to the left. I've also tried center aligning the contents of the "nav_frame.html" itself, but still no cigar.
Anyone have any ideas on how to accomplish what I want?
All tips welcome!
Peace!
- T Y H A N D
What I'm trying to do is get the an image that is located in a frameset on the bottom half of a page to align with an image on the top half.
Just follow me here a sec...
I have 2 Framesets - one on top and one on bottom of a web page (the 2nd is embedded in the 1st one). The top frameset has a header image that is centered. The bottom frameset is divided into 2 columns -- on the left is a navigation bar and on the right is where the content appears.
Ok - simple enough? Here's the code:
(frameset rows="145,*" cols="*")
(rame name="topframe" src="mysite.com/top_frame.html" scrolling="no")
(frameset cols="20%,*" rows="*" bordercolor="#cc0000")
(frame name="navframe" src="mysite.com/nav_frame.html" scrolling="no")
(frame name="contentframe" src="mysite.com/content.html" scrolling="yes")
(/frameset)
Anyway, I'd like for the contents that are located in the navigation frame (the "nav_frame.html") to align themselves more to the center of the image in the top frame (the "top_frame.html") REGARDLESS of how wide the screen resolution gets.
I've tried playing around with the "COLS" and "ROWS" attributes and have set them to different percentages but when I view the result in a browser the contents in the "nav_frame.html" appear all the way flushed to the left. I've also tried center aligning the contents of the "nav_frame.html" itself, but still no cigar.
Anyone have any ideas on how to accomplish what I want?
All tips welcome!
Peace!
- T Y H A N D