473,568 Members | 2,850 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp:Panel issues with FF & Netscape.

1 New Member
Hi Guys,

I like to know if there is any better solution to this issue.

I am a front end developer using CSS and asp.net technologies

I have a .net page and I am using an external CSS file.
After adding the following code

What I see is that its fine on IE 6 & 7 but on firefox and netscape the 2 links given below shift to the center.

<asp:Panel id="TrailMarker " CssClass="Trail Marker" Runat="server">
<asp:HyperLin k id="lnkAboutUs " CssClass="Trail Marker" runat="server"> About Us</asp:HyperLink>& gt;
<asp:HyperLin k id="Hyperlink1 " CssClass="Trail Marker" runat="server"> Our Profile</asp:HyperLink>
</asp:Panel>
The CSS class for this is
div.TrailMarker {
padding: 0px;
padding-left: 2%;
margin-top: 0px;
text-align: left;
vertical-align:top;
height: 20px;
background-color: #333333;}

I found out a fix on it, by adding the inline styles but my client wants external reference only.

My fix is as follows - look at the inline style I embedded
<asp:Panel id="TrailMarker " CssClass="Trail Marker" Runat="server" style="padding: 0px;padding-left: 2%;margin-top: 0px;text-align: left;vertical-align:top;heigh t: 20px;background-color: #333333;">
<asp:HyperLin k id="lnkAboutUs " CssClass="Trail Marker" runat="server"> About Us</asp:HyperLink>& gt;
<asp:HyperLin k id="Hyperlink1 " CssClass="Trail Marker" runat="server"> Our Profile</asp:HyperLink>
</asp:Panel>

Somehow my client wants an external source (the reason for this while printing the page all these inline style cause shifting of text and increase/decrease in font size.)
Can anybody please give me a better solution.

Thanks.

Abdul Haq
Sep 19 '06 #1
0 2644

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1698
by: Harry | last post by:
Hi, Slight problem in asp.net. (c#) I have a asp:panel page set up, with two different panels both of which contain a form. On the second page the user presses submit and the form details are automatically entered into a SQL database. Problem is, when the user presses the next button on the first panel,
3
1883
by: Harry | last post by:
Hi, Can anyone help. I have a asp.net page (c#), with two panels, both of which have asp:textboxes on. When I press the first button, the second panel shows fine. When I press the button in the second panel, it triggers the script to send the form details by email.
6
1532
by: sklett | last post by:
I'm curious... asp:Panel renderes a <div> tag, right? And you can have text in a div tag.... so why not have a Text property for the asp:panel control??
2
6012
by: Mark Rae | last post by:
Hi, Is there any way to use the asp:Panel Web control so that it is always created regardless of its Visible property? E.g. if I write the following: <asp:Panel ID=pnlEvent Runat=server Visible=False> ....controls </asp:Panel> the panel is not actually created. I'd like it to be created but be
1
1949
by: Pietro | last post by:
The asp:Panel tag renders a DIV in IE and TABLE in Firefox, where can i configure it to render DIV in both. Thanks Pietro
1
5382
by: Gary Coutts | last post by:
Hi, I am trying to center an panel using the following: <asp:Panel id="pnltest" HorizontalAlign="Center" BackColor="white" Width="800" Runat="server"> <asp:Button id=btnTest Runat="server" Text="press"></asp:Button> </asp:Panel> When view in a browser the following happens
2
2361
by: Darren Carter | last post by:
Hi, I have mutliple asp:Panel controls on a single page, each with a default button defined (each default button resides within its respective asp:Panel). All validation controls and buttons within each panel also have separate ValidationGroups defined. When an asp:Textbox has focus in one of the Panels and I press the enter key, my...
2
2473
by: Nathan Sokalski | last post by:
I have an HTML table in which I am using ASP:Panel controls to group together <tr>'s so that I can more easily show/hide them (by setting the ASP:Panel's Visible property). This works fine, but Visual Studio .NET 2005's Design View always hides the <tr>'s regardless of whether the ASP:Panel's Visible property is set to True, False, or not set...
6
11248
by: phpmel | last post by:
Hi Guys, I have an asp panel,an associated drag panel extender, a label and an OK button that serves as a message popup. i would like this pop up to show up in the centre of the browser window when the page is run. can someone please help me My code is below. i am using master pages <asp:Panel ID="MessagePanel" runat="server"...
0
7604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7916
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2101
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.