![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
I helped the forums.
|
CSS Problem
Ok, so i have been learning CSS. Kinda. A buddy of mine is developing a website for gaming. www.gameflak.com. I had the brilliant idea of making a myspace account for it. So he told me, sure your in charge. Great right? No. Im retarded when it comes to this stuff. But good for me cause ill get to learn some new stuff, and learn i have.
So here is my problem. This goes in my Interests Section: Code:
<style type="text/css">
table, tr, td {background:transparent;} table table table table, table.contactTable {display:none;} td.text table{visibility:hidden;}.nametext, .whitetext12, .orangetext15 {display:none;}div table td font {display: visible;}body {background-color:color here;} td.text table table{display:inline;visibility:hidden;}table, td{border-width:0px;}.byebye{display:none;}
.background{
position: absolute;
left: 50%;
top: 125px
margin-left: -512px;
height: 800px;
width: 1024px;
background-color:transparent;
z-index:2;
}
</style>
Code:
<div class="background"><img src="http://img297.imageshack.us/img297/2432/finishedpageez1.png"></div> <div class="byebye"><table><tr><td><table><tr><td> If you go to the myspace page, www.myspace.com/gameflak hit ctrl-a to select all. you can see that the image is about 500 pixels down and to the right. No matter what i say to the .background it does not move. I dont get it. :( Anyone got an idea? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Henry
Join Date: Apr 2005
Posts: 3,484
OS: Mac OSX
|
In Opera ( a browser) I don't see anything on your MySpace.
But...... I would remove the table from your div class="byebye" because the purpose of CSS is to remove those horrid tables at least IMHO ![]() How about you try this: replace the .background with #background (because to my knowledge a .something represents a <span class="">), and you would have to allocate a spot for an #aboutme, and then in <div id="aboutme"> (rather than <div class>) you would place the image.
__________________
JohnThePilot: Cenedl heb iaith, cenedl heb galon (a nation without a language is a nation without a heart) John Butler Trio: Go take a step outside, see what's shakin' in the real world - Good Excuse Paul Kelly: Just add a dollop of tomato sauce for sweetness and that extra tang - How to Make Gravy Last edited by Spatcher; 12-14-2006 at 06:25 PM. |
|
|
|
|
|
#4 (permalink) |
|
Henry
Join Date: Apr 2005
Posts: 3,484
OS: Mac OSX
|
If you didn't know already, http://www.w3schools.com/
There you can learn HTML, CSS, JavaScript etc. It's a great website for beginners like yourself.
__________________
JohnThePilot: Cenedl heb iaith, cenedl heb galon (a nation without a language is a nation without a heart) John Butler Trio: Go take a step outside, see what's shakin' in the real world - Good Excuse Paul Kelly: Just add a dollop of tomato sauce for sweetness and that extra tang - How to Make Gravy |
|
|
|
|
|
#6 (permalink) |
|
Henry
Join Date: Apr 2005
Posts: 3,484
OS: Mac OSX
|
Hmmm... well this won't help but it will show you what CSS looks like:
http://www.csszengarden.com/ (I love this ^ site!!)
__________________
JohnThePilot: Cenedl heb iaith, cenedl heb galon (a nation without a language is a nation without a heart) John Butler Trio: Go take a step outside, see what's shakin' in the real world - Good Excuse Paul Kelly: Just add a dollop of tomato sauce for sweetness and that extra tang - How to Make Gravy |
|
|
|
|
|
#8 (permalink) |
|
Retired
|
I'm quite late, but try actually placing the image in the CSS as a background and then set the position.
body{ background: url(http://img297.imageshack.us/img297/2...hedpageez1.png) no-repeat; background-position: 50% 125px; } in background position, the first value is from left, second is from top. try that if you haven't already got it to work.
__________________
|
|
|
|
![]() |
| Thread Tools | |
|
|