473,387 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Fumbling Through CSS/HTML on My Blog - Need Help

Hi there,

I am putting together a blog currently located at dewyapplebottom.squarespace.com . Using the http://www.alistapart.com/articles/dropdowns/ , I created a pretty nice looking navigation menu. But it has a few problems:

1. I'd like to have the menu sit centered, a bit underneath the Blog name and description.

2. I'd like the drop down to hide the underlaying text when it drops. Right now it will hide the blog entries, but if drops down over the sidebars, the sidebar content is still visible.

If any of you know how to help solve either of these problems, I would greatly appreciate it!!

Thank you,
Christina
Dec 8 '06 #1
4 1621
AricC
1,892 Expert 1GB
1. I'd like to have the menu sit centered, a bit underneath the Blog name and description.

2. I'd like the drop down to hide the underlaying text when it drops. Right now it will hide the blog entries, but if drops down over the sidebars, the sidebar content is still visible.
Add the div code below around your existing menu.
[html]
<div style="text-align: center">
<ul id="nav">
<li><b>Zippy Kids</b>
<ul>
<li><a href="http://www.dewyapplebottom.squarespace.com/home">Home</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/about">About</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/contact">Contact</a></li>
</ul>
</li>
<li><b>Listings</b>
<ul>
<li><a href="http://www.dewyapplebottom.squarespace.com/products/">Products</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/books/">Books</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/activism/">Activism</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/directory/">Directory</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/news/">News</a></li>
</ul>
</li>
<li><b>Categories</b>
<ul>
<li><a href="http://www.dewyapplebottom.squarespace.com/add-adhd/">ADD/ADHD</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/autism/">Autism</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/spd/">SPD</a></li>
</ul>
</li>
<li><b>Discussions</b>
<ul>
<li><a href="http://www.dewyapplebottom.squarespace.com/addadhd-board/">ADD/ADHD Board</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/autism-board/">Autism Board</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/spd-board/">SPD Board</a></li>
</ul>
</li>

<li><b>Get Involved</b>
<ul>
<li><a href="http://www.dewyapplebottom.squarespace.com/suggest-a-listing">Suggest a Listing</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/advertise">Advertise</a></li>
<li><a href="http://www.dewyapplebottom.squarespace.com/giveaways">Sign-up for Giveaways</a></li>
</ul>
</li>
</ul>
</div>
[/html]

For question 2 are you saying you want the background of the drop menu to be invisible? Clarify if you can't get it.

HTH,
Aric
Dec 8 '06 #2
Hi Aric,

Thank you so much for the reply. I really appreciate it because I'm way beyond my understanding of all this.

I did add the <div> as you recommended, but the menu still is not centering horizontally on the page.

I enlarged my drop down menu where it runs into the sidebar to better illustrate what is happening. The drop down goes behind the sidebar and the sidebar stays visible. I would like the drop down menu to be visible instead.

I'm not sure if some of this is part of the main code of the template I'm using. If it is part of that, then this may be a problem. I can't access the main template code.

Thank you again for looking into this. I really am grateful!!

:)Christina
Dec 9 '06 #3
I spent a little time looking at your web site. For the moment the best I could come up with is this - <div style="margin-left: 125px;"> - rather than the text-align: center (this will only center the contents of the new div you added not the div itself).

It appears that part of the page style is embedded on the page and some is being called from an external style sheet. Unfortunately, I am not able to pull down the external style sheet to see what is in it.

What I have suggested above is not the best universal fix; however, it will give you some control over the horizontal position of the menu system. 125px worked best for my screen size and resolution. You can play with this number to get just what you want. There is a setting that will cause a div to automatically center on any screen size, but it is not working here. Could be a conflict with something in the external style sheet - which I can't get to.

In viewing the several pages on the site I did not see the menu disappear behind anything? I am not sure what you are referring to when you say "sidebar."
Dec 9 '06 #4
Thank you so much for your response and for your help!! I tried your <div> with the pixel count and that does seem to move it. But, this page moves around when the browser size is adjusted. So the menu stays in a static place and doesn't move.

I think that you're right that there is something with an external style sheet, something I cannot access through this website. This is definitely a limitation of the service I'm using.

I have a Mac and when I'm using it the menu goes behind the advertising (that's what I mean by the sidebars). I wonder if that only happens to Macs.

Thank you everybody for your help!! If anybody has any other bright ideas, I'm willing to try them. I think that the previous reply was correct in that it is probably something in the external style sheet.

:)Christina
Dec 9 '06 #5

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

Similar topics

12
by: Jacob Crossley | last post by:
Please tell me there is a way to prevent this annoyance ; - ) I'm into writing perfectly indented html, but the .net dev environment is being overzealous and messing up my html formatting. for...
5
by: Urs Vogel | last post by:
Hi how do I add HTML elements dynamically to my page? Is there some similar way like with ASPX controls, or do I have to render them out in a custom control? Thanks, Urs
5
by: Andrew | last post by:
Hi, friends, In ASP, we use obj = CreateObject("com.dll") obj.GetHTMLText(inVal, outHTMLTxt1, outHTMLTxt2) to get different HTML strings based on input values. Then, we insert them into...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
59
by: Lennart Björk | last post by:
Hi All, I have a tiny program: <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>MyTitle</title> <meta...
9
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. For a...
5
by: Leon | last post by:
Please help, I'm trying to grab some data from some html source. I'm using VB.NET (2003). Below is a snippet of the html source: <div class="Individualdetails" id="Individual">Mark Long</p><p>...
7
by: SteveM | last post by:
I am sure this is an easy question, but being relatively new to ASP.NET programming, I can not quite grasp what I need to accomplish what I need to do. What I have is a word document that is...
1
by: slinky | last post by:
Thanks for any help folks: I have two .aspx pages that are workling well: one is for entering entries in a blog and another for viewing those entries. What I want to do is combine the two into...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...

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.