Need some web page help

RAA-Kr1cH

Limp Gawd
Joined
Feb 4, 2005
Messages
205
I'm using Visual Web Developer to make a website for one of our clients. I'm fairly comfortable with the basics, and this is probably something extremely stupid, but I'm having issues with a panel.

I added a panel to my master page that I want to use for navigation. I want to fill this panel with the images I made in photoshop that will be the buttons. I double checked the images in photoshop, and there's no white space around the images, however when I add them all to the panel, it's adding pixels between the images, and I can't figure out how to remove those pixels.

<asp:panel ID="Panel2" runat="server" Height="214px" Style="z-index: 101; left: 32px;
position: absolute; top: 204px" Width="199px">
<img src="images/Home.gif"/>
<img src="images/R&DGroup.gif" />
<img src="images/CleanEnergy.gif" />
<img src="images/EconomicDev.gif" />
<img src="images/WhoWeAre.gif" />
<img src="images/ContactUs.gif" />
</asp:panel>

I added the border=0 hoping that would do the trick, but the space is still there. Can anyone help me figure out how to get these images touching?

Thanks.

PS: I created a sitemap, and would like to use the navigation tools in visual web developer, but I want the root to be an image. So instead of the word "home" I want to click on an image I made in photoshop that says "home". I would really like to be able to use this function, as it will make further updates and changes much easier on me.

thanks again
 
can you provide a link for us to view the site?
 
Try adding margin=0;, border=0; and padding=0; to the css for that image block?
 
Ok, sorry for my noobness here. I tried the css, and the doctype and neither did the trick, not sure why, probably just me.

BUT that's not really the issue anymore anyway. What I would really like to do is just use a site map. here's a pic of the images (with the spaces) when I changed it so the site map used an image instead of just the default text the next image down bumped up nicely next to it. SO I think if I just modify the sitemap that will fix my problem (plus be the right way to do it anyway)



each main item will have a submenu. Right now if you look at their site, www.tcry.com they have the 6 links under the flash banner. If you click on the "who we are" page, it takes you to a new page that has another menu that lists more pages down the right side. What I would like to do is make this a dynamic menu. I have the site map configured properly for the "who we are" menus for the new site, but I can't seem to add menu trees above and below it. I'm sure this makes absolutely no sense, so I'll include the code from my sitemap page

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="whoweare.aspx" title="" description="" >
<siteMapNode url="general_rates.aspx" title="General Rates" description="" />
<siteMapNode url="industrial_properties.aspx" title="Industrial Properties" description="" />
<siteMapNode url="maps_olympia.aspx" title="Maps(Olympia)" description="" />
<siteMapNode url="maps_richland.aspx" title="Maps(Richland)" description="" />
<siteMapNode url="news_media.aspx" title="News and Media" description="" />
<siteMapNode url="services.aspx" title="Services" description="" />
<siteMapNode url="photos.aspx" title="Photos" description="" />
<siteMapNode url="links.aspx" title="Links" description="" />
</siteMapNode>
</siteMap>

right now this works just fine if you mouse over the "who we are" pic. This is what I would like it to do. but I can't seem to add multiple root levels to the menu(I know the syntax will be all wrong, but below is how I think it should work in my mind)

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="index.aspx" title=" description="" >
</siteMapNode>
<siteMapNode url="r_and_d_group.aspx" title="" description="" >
</siteMapNode>
<siteMapNode url="clean_energy.aspx" title="" description="" >
</siteMapNode>
<siteMapNode url="economic_development.aspx" title="" description="" >
</siteMapNode>
<siteMapNode url="whoweare.aspx" title="" description="" >
<siteMapNode url="general_rates.aspx" title="General Rates" description="" />
<siteMapNode url="industrial_properties.aspx" title="Industrial Properties" description="" />
<siteMapNode url="maps_olympia.aspx" title="Maps(Olympia)" description="" />
<siteMapNode url="maps_richland.aspx" title="Maps(Richland)" description="" />
<siteMapNode url="news_media.aspx" title="News and Media" description="" />
<siteMapNode url="services.aspx" title="Services" description="" />
<siteMapNode url="photos.aspx" title="Photos" description="" />
<siteMapNode url="links.aspx" title="Links" description="" />
</siteMapNode>
<siteMapNode url="contact_us.aspx" title="" description="" >
</siteMapNode>
</siteMap>
I want each of those root items to have their own subdirectories, as well as use an image. I was able to get the image working for the "who we are" in the properties, so if I can get the rest of the menu working properly, I should be able to figure that out.

Again, thanks for all the help.
 
Back
Top