just had a friend check my new page and she says everythiing is screwed up-- but in my browser-- firefox-- all is well...page looks fine..
xhtml validator says code is ok
css is validated ok--
so i cant figure out what the heck is wrong
this is sooooooooo frustrating - have been working on this page for days and nights - am new to css so its been a real ordeal-- i sure hope someone here can solve my problems as i am simply so tired and drained i cant even think anymore
/*this uses the descendent selector display to give form to the nav bar elements */
#linkList {
float: left;
margin-top: 20px; /*sets distance between each conter */
margin-left: 248px;
position: absolute;
top: 280px;
width: 280px; /*sets size of list container */
}
#linkList div {
margin-left: 5px;
margin-top: 40px;
}
/* sets linklist properties */
ul {
font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, Helvetica, Verdana, Arial, Sans-serif;
font-size: 70%;
margin: 0px;
padding: 5px; /* sets list how far from left edge */
}
li {
color: lime;
font-weight: bold;
line-height: 22px;
list-style-type: none;
padding-right: 20px
}
#lselect { /* this is artwork*/
background-color: transparent;
background-image: url(IMAGES/creativedistortion2a.jpg);
background-position: top;
background-repeat: repeat-y;
border-color: #D286DF;
border-style: inset;
border-width: 2px;
font-family: Comic Sans MS, Sans-Serif;
font-weight: bold;
color: lime;
See how that works? Elements can be combined. This makes it much simpler code to wade through? in times like these!!
I haven't given it my all, but you have some issues with using position: absolute; and making specific pixel declarations where that menu should go. You will want to eventually move to a system more like this layout: http://bluerobot.com/web/layouts/layout1.html
or like this one: http://glish.com/css/7.asp
Just get rid of the far right menu on that last one and you have something similar to your current layout.
That being said, here's a suggestion. Change your "#linkList" CSS to the following:
Code:
#linkList
{
margin-top: -1000px; /*sets distance between each container */
margin-left: 10px;
width: 280px; /*sets size of list container */
}
Yeah; something's up with that code, but the CSS is too layered and I don't feel like sorting through it all. The -1000px worked on IE6 and NS7.1/pc!!
For some reason, the linksList is below the body content and needs to be raised above it. I tried it another way (using floats), but I got something wrong because the list appeared *behind* the main body content. I added z-index to that and it still didn't work. But that wasn't the issue. I shouldn't have to use z-index with a floated layout. Something else is going on there.
<shrug>
-ts
thanks for your help... i do really appreciate it --
i went to change code and something weird happened with my host file manager--POWWEB-- my code disappeared TOTALLY--
and of course i didnt have a back up copy- DUH DUH--- of all the years i have been on the net and doing pages-- i ALWAYS BACK UP but this time i guess i was so intent on trying to learn everything i forgot- hard lesson learned for sure--
its not almost 1am and i have been working trying to reestablish at least some of code but again when i went to save it - it disappeared-- so now i am really frustrated and tired --
i just realized i can copy code from the message board- AHHHHHHHHHHHHHH
i did move the margins to -1000px but it didnt do anything but move the containers WAY over to the left side of the page-- and way down the bottom of the page--
so once again i am at a loss--
i think the god of css is totally against me--
tomorrow i will reconstruct code-- AFTER i leave a message on the board of my host--
thanks again for you warm welcome and help with this problem-- i hve posted on other boards and either gotten no help or help that made things wors .....
needless to say i am about to simply throw in the towel and go back to html at least i KNOW that ---
ok -- i am off to bed -- will start fresh in the morning and have a better attitude-- and hopefully things will go much better for me .....
Well, the code you had posted here and the code you had on your site were not the same. Here's a ZIP file of the HTML and CSS that I had when I made those changes. See how that looks in Firefox.
i have had so much trouble lately-- my web host ftp screwed up and erased ALL MY CODE-- both last nite , this afternoon, AND tonite-- so i am extremely frustrated and over it all
i decided since my page was so messed up -- i found an online browser cam that takes pics of page and displays in ALL kinds of browsers and my page was bascially screwed in everyone so i decided to chuck it all and start from scratch with a faster and easier layout-
so have been working on it all day-- and then with all the ftp problems that turned into a nitemare too--
so that is probably why the code is different-- sorry about that
i will download ur zip file and check it out -- gosh it sure would be great if u found an answer for me--
its late - i am exhausted and can hardly type-- almost 2am-- ENOUGH COMPUTER FOR ONE DAY!!!!!!!
thanks so much for your help- will let ya know how it all turns out
I suggest that you start from scratch. The design has potential, but the code was waaaaaaaay convoluted! Take a look around and find something you like, then tweak it!
-ts
What kind of host touches your code? That doesn't make any sense.
I don't have the time or patience to walk you through this either, but I can offer more coding practice tips: make things easier on the server, your user, and yourself by trimming even more excess fat from your CSS by not declaring default values for properties.
background-color: transparent; is not necessary as many places as you have it since it will default to that. Check out the CSS spec for more on default property values.
sorry i havent gotten back to post here but i have just gone thru hurricane francis and jeanne-- thankfully little damage but EXTREMELY STRESSFULL all the same
i have taken advice here and gone to a two column template and trashed the other -- it was just too much to deal with --
so things are easier now and i am working on the new layout--
MANY THANKS for help here -- i do appreciate the time and effort made by those who responded--
i am sure i will have other questions and problems as things develop so will be back to post again when things come up!!!