[SOLVED] CSS Page Layout in other browser

This is a discussion on "[SOLVED] CSS Page Layout in other browser" within the Web Page Design section. This forum, and the thread "[SOLVED] CSS Page Layout in other browser are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 7th, 2007, 16:54
Up'n'Coming Member
Join Date: Apr 2007
Location: Canada
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] CSS Page Layout in other browser

Hi Gang!

Could somone please tell me about this issue. I have created this page with CSS and layout is perfect in IE 7 but it is off in Netscape 7.2 and firfox 2.009. Is there anything I need to pay attention to fix this issue? Any idea? Thanks in Advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 7th, 2007, 16:55
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,797
Thanks: 0
Thanked 17 Times in 17 Posts
Re: CSS Page Layout in other browser

Have you got any Code? If you can, please host it!
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 7th, 2007, 20:14
Up'n'Coming Member
Join Date: Apr 2007
Location: Canada
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

Thanks Marc,
I have found this link at http://bonrouge.com/~faq#footeratbottom on the net and has resolved my problem but I now have another question. In my page I have link menu and hoover color is differnt that the original color. Now how can I implement this... hoover color would be visible when I am on that link page. I hope I was able to explain.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 7th, 2007, 20:43
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

Can you post your code so we can see?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Nov 7th, 2007, 20:46
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,797
Thanks: 0
Thanked 17 Times in 17 Posts
Re: CSS Page Layout in other browser

You would need a class="current" for that on your navigation item. Can you please show us your CSS and HTML? It will make it easier to sort. Also if you can host it, that would be great!
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Nov 8th, 2007, 14:29
Up'n'Coming Member
Join Date: Apr 2007
Location: Canada
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

OK.. Here is my CSS
Code: Select all
#linksmenu a{
 float:right; 
 width:150px; 
 height:20px; 
 background-color:#339966; 
 border-left:solid 1px #FFFFFF; 
 border-bottom:solid 1px #FFFFFF;
 font: 0.7em Tahoma, sans-serif;
 font-size: 11px;
 font-weight:bold;
 color: #FFFFFF;
 text-decoration:none;
 padding-top:5px;
#linksmenu a:hover{
 background-color:#FF3300;
}
Here is my Html
HTML: Select all
<div id="menu" align="right">
    <div align="right" style="width:150px; height:8px;"><img src="http://www.webforumz.com/images/mnu_topshadow.gif" width="150" height="8" alt="mnutopshadow" /></div>
    <div id="linksmenu" align="center">
     <a href="index.html" title="Home">Home</a>
     <a href="#" title="About Me">About Me</a>
     <a href="#" title="My Objective">My Objective</a>
     <a href="disclaimer.html" title="Disclaimer">Disclaimer</a>
     <a href="#" title="Send Feedback">Send Feedback</a>
     <a href="#" title="View Feedback">View Feedback</a>
    </div>
    <div align="right" style="width:150px; height:8px;"><img src="http://www.webforumz.com/images/mnu_bottomshadow.gif" width="150" height="8" alt="mnubottomshadow" /></div>
   </div>
Here is my link http://www.bangladeshilivingabroad.com/test
What I want is if I am on alink the link hoover should stay red as the hoover color is red. Currently only home and disclaimer is live. So pls check those two only. I also want the home link on the left should be stay hoover color as it defaulted to the site. I hope I was able to make it clear.

Last edited by karinne; Nov 8th, 2007 at 14:31. Reason: Please use the proper vBcode when inserting code in your post.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Nov 8th, 2007, 14:35
Junior Member
Join Date: Nov 2007
Location: Norwich, UK
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

Hi,

You'll need to add a class to the link that corresponds to the active page, then style that the same as the hover. So, let's call that class "selected" and assume we're on the Home page:

Change to the HTML....
HTML: Select all
    <div id="linksmenu" align="center">
   <a class="selected" href="index.html" title="Home">Home</a>
   <a href="#" title="About Me">About Me</a>
   <a href="#" title="My Objective">My Objective</a>
        <a href="disclaimer.html" title="Disclaimer">Disclaimer</a>
        <a href="#" title="Send Feedback">Send Feedback</a>
        <a href="#" title="View Feedback">View Feedback</a>
    </div>
Change to the CSS.....
Code: Select all
#linksmenu a:hover, #linksmenu a.selected {
 background-color:#FF3300;
}
Hope that helps,

James.

Last edited by karinne; Nov 8th, 2007 at 14:58. Reason: Please use vBcode when inserting code in your post.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Nov 8th, 2007, 14:46
Up'n'Coming Member
Join Date: Apr 2007
Location: Canada
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

Hi James,
So what you are telling is that I will have to have two code for every link ..one selected and one not selected?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Nov 8th, 2007, 14:55
Up'n'Coming Member
Join Date: Apr 2007
Location: Canada
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

Thanks James. I got it now working fine. I did not understand at the beggining but it I tried and it is working like charm. Thank you very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Nov 8th, 2007, 14:57
Junior Member
Join Date: Nov 2007
Location: Norwich, UK
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CSS Page Layout in other browser

Glad to help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Page Statistic [Browser & OS] Monie Classic ASP 24 Dec 4th, 2007 07:40
css page layout help debrag Web Page Design 19 Aug 30th, 2007 13:23
page layout newbie2007 Website Planning 4 Mar 6th, 2007 13:40
Can I set my page to be a specific size on every browser? Inkers Web Page Design 9 Jan 14th, 2007 11:03
Browser dosen't recognize ihtml page? SteveJP Web Page Design 5 Nov 3rd, 2006 11:09


All times are GMT. The time now is 18:11.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42