Click here to Skip to main content
15,895,192 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Visitor's Feedback Pin
R. Giskard Reventlov3-Mar-10 23:37
R. Giskard Reventlov3-Mar-10 23:37 
GeneralRe: Visitor's Feedback Pin
tunsten4-Mar-10 2:26
tunsten4-Mar-10 2:26 
QuestionHow to convert a dataset to Excelsheet ? Pin
Subin Mavunkal3-Mar-10 22:54
Subin Mavunkal3-Mar-10 22:54 
AnswerRe: How to convert a dataset to Excelsheet ? Pin
April Fans3-Mar-10 23:25
April Fans3-Mar-10 23:25 
GeneralRe: How to convert a dataset to Excelsheet ? Pin
Subin Mavunkal4-Mar-10 0:48
Subin Mavunkal4-Mar-10 0:48 
QuestionPostback event not firing from checkbox inside Gridview Pin
Santhosh Sebastian Mattathil3-Mar-10 22:01
Santhosh Sebastian Mattathil3-Mar-10 22:01 
AnswerRe: Postback event not firing from checkbox inside Gridview Pin
m@dhu3-Mar-10 22:37
m@dhu3-Mar-10 22:37 
QuestionHow to add a custom made menu item to the Master Page? Please reply Pin
robin_w3-Mar-10 21:28
robin_w3-Mar-10 21:28 
I am using Visual Studio Web Developer 2008, CSS 2.1

Browser Firefox 3.5.8, IE 6.0.2900

I am trying to add this menu described here
[], but it is causing all the master page components to change positions.

I created a master page following tutorials elsewhere and the problem mainly comes with the Menu bar, I created a custom menu bar to suit my needs, rather than using the inbuilt menu, but i am guessing because of the menu the webpage components are out of place in
1)Firefox: there is a Nav div on the left hand side of the page

Structure of intended webpage
------------------------------
Logo Title
Dotted Line
Menu
Dotted Line
Nav Main Content page
(25%) (margin-left:30%;)
footer

This is how i am trying to arrange the page but in firefox the Nav falls to the right, CSS setting justify:left dosent help.

2)In Internet Explorer
The menu appears vertical rather than horizontal

Please find the code to my Master Page below, however note that i am NOT trying to use the asp:menu item for a menu, and using a customized menu. Because of which my master page is all over the browser.

I would really appreciate if anyone can provide any sort of suggestions.

Please find Master Page below.
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="StyleSheet.css" type="text/css" rel="Stylesheet" />
    <script language="javascript" src="menu.js" type="text/javascript" ></script>
</head>
<body>
<div id="outer">
	<div id="header">
		<div id="lhead">
		    <img alt="logo1" src="Images/team1.jpg" style="height: 45px; width: 44px"/>
		    <a href="Default.aspx" style="color:Black; text-decoration:none" ><i><b>TEAM</b></i></a>
		</div>
		<div id="rhead">
		    <img alt="logo2" src="Images/team6.jpg" style="height: 46px; width: 50px" />
		    <img alt="logo3" src="Images/team3.jpg" />
            <img alt="logo4" src="Images/team5.jpg" style="height: 44px; width: 54px" />
            <img alt="logo5" src="Images/team4.jpg" style="height: 43px; width: 56px" />            
		</div>
		<b id="team definition" style="color:Black; text-decoration:none; font-size:x-small; 
		font-weight:lighter; display:block; text-align:left;">REDEFINING EXCELLENCE</b>
		    <ul id="menu1">
		        <li><a href="#">home</a></li>
		        <li><a href="#"
		            onmouseover="mopen('m1')"
		            onmouseout="mclosetime()">products & services</a>
		            <div id="m1"
		                onmouseover="mcancelclosetime()"
		                onmouseout="mclosetime()">
		                <a href="#">engineering services</a>
		                <a href="#">engineering products</a>
		                <a href="#">it services</a>
		            </div>
		        </li>
		        <li>
		            <a href="#"
		                onmouseover="mopen('m2')"
		                onmouseout="mclosetime()">about us</a>
		            <div id="m2"
		                onmouseover="mcancelclosetime()"
		                onmouseout="mclosetime()">
		                <a href="#">company history</a>
		                <a href="#">achievements & awards</a>
		                <a href="#">company policies</a>
		                <a href="#">future growth & vision</a>
		            </div>
		        </li>
		        <li>
		            <a href="#"
		                onmouseover="mopen('m3')"
		                onmouseout="mclosetime()">careers</a>
		            <div id="m3"
		                    onmouseover="mcancelclosetime()"
		                    onmouseout="mclosetime()">
		                    <a href="#">career path</a>
		                    <a href="#">type of jobs</a>
		                    <a href="#">current openings</a>
		            </div>
		        </li>
		        <li>
		            <a href="#"
		                onmouseover="mopen('m4')"
		                onmouseout="mlosetime()">help & support</a>
		            <div id='m4'
		                onmouseover="mcancelclosetime()"
		                onmouseout="mclosetime()">
		                <a href="#">technical support</a>
		                <a href="#">feedback form</a>
		             </div>
		        </li>
		        <li>
		            <a href="#">contact us</a>
		        </li>
		        <li>    
		            <a href="#">site map</a>
		        </li>		        
		    </ul>
	</div>
<div id="body1">
	<div id="nav">
		<h4>Navigation</h4>
		<ul>
			<li>text1</li>
			<li>text2;/li>
			<li>text3;/li>
		</ul>

	</div>
	<div id="main">
		<p>Main Content -- text 		
<div id="footer">

		<p>Footer text -- text </p>
	</div>
</div>	
</div>
</body>

</html>


Please reply, thanks.
QuestionError Pin
4anusha43-Mar-10 21:03
4anusha43-Mar-10 21:03 
AnswerRe: Error Pin
Dinesh Mani3-Mar-10 21:32
Dinesh Mani3-Mar-10 21:32 
GeneralRe: Error Pin
4anusha43-Mar-10 22:51
4anusha43-Mar-10 22:51 
GeneralRe: Error Pin
Dinesh Mani3-Mar-10 23:01
Dinesh Mani3-Mar-10 23:01 
GeneralRe: Error Pin
4anusha43-Mar-10 23:05
4anusha43-Mar-10 23:05 
QuestionCreate and senda email in .net 3.5 Pin
kpuneeth73-Mar-10 19:50
kpuneeth73-Mar-10 19:50 
AnswerRe: Create and senda email in .net 3.5 Pin
Brij3-Mar-10 20:10
mentorBrij3-Mar-10 20:10 
GeneralRe: Create and senda email in .net 3.5 Pin
kpuneeth73-Mar-10 20:25
kpuneeth73-Mar-10 20:25 
GeneralRe: Create and senda email in .net 3.5 Pin
Brij3-Mar-10 21:01
mentorBrij3-Mar-10 21:01 
AnswerRe: Create and senda email in .net 3.5 Pin
Not Active4-Mar-10 0:19
mentorNot Active4-Mar-10 0:19 
Answer[Cross Post] Re: Create and senda email in .net 3.5 Pin
Scott Dorman4-Mar-10 4:36
professionalScott Dorman4-Mar-10 4:36 
QuestionReading excel data into datatable Pin
snehasish3-Mar-10 19:45
snehasish3-Mar-10 19:45 
AnswerRe: Reading excel data into datatable Pin
Dinesh Mani3-Mar-10 21:42
Dinesh Mani3-Mar-10 21:42 
QuestionAuthorize.net SIM implementation issue Pin
Sudhanshu Mani Tripathi3-Mar-10 19:43
Sudhanshu Mani Tripathi3-Mar-10 19:43 
AnswerRe: Authorize.net SIM implementation issue Pin
rhandler12-Jun-10 21:16
rhandler12-Jun-10 21:16 
QuestionHow to create cab file for ActiveXControl? Pin
Prasadsm3-Mar-10 19:28
Prasadsm3-Mar-10 19:28 
QuestionCrytal Report Problem Pin
Any_India3-Mar-10 19:07
Any_India3-Mar-10 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.