473,397 Members | 1,972 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,397 software developers and data experts.

CSS Floating image

Hey if anyone could help me this would be great, been staring at the
screen for over 2 hours and cant figure out why the image wont, align
to the top left and wrap the text around.
Any help would be great. Thanks.
The URL is
http://www.gadago.net/summersnow/scr...Submit=Proceed.

My CSS is below, and the img.camp is the one that I cant get to work.

..bodytext {
margin: 0px;
background: #FEEF39;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#000000;
font-size:12px;
}

..header {
margin: 0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
font-size:12px;
}

p {
margin-top: 4px;
margin-bottom: 4px;
}

/* below is the drop down styles */

option {
font-family:"Courier New", Courier, mono;
font-size:12px;
color:#996600;
background:#FFFF66;
}

option.one {
background: #FEEF39;
}

option.two {
background: #FFFF88;
}

/* below is the button styles */

button.btn{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#696;
border-left-color:#696;
border-right-color:#363;
border-bottom-color:#363;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}

button.btnhov{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#c63;
border-left-color:#c63;
border-right-color:#930;
border-bottom-color:#930;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}
..footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #CCCCCC;
}

..anchor {
background:#FEEF39;
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
}

/* navigation links on anchor */

ul {
list-style-type: none;
overflow: auto;
padding: 0;
margin: 0;
}

ul li {
float: left;
border: 1px solid #333;
border-bottom: none;
margin: 0 5px;
background:FFFF56;
}

ul li a {
display: block;
padding: 10px 20px;
text-decoration: none;
}

ul li a:hover {
text-decoration: underline;
background:#996600;
}
/* --------------*/

/* to make the above work on IE browsers is below */

* html ul li a {
width: 1%;
}
/* below to align and float images */

img.camp {
position: absolute;
top:50px;
left:50px;
float:right;
clear:right;
margin-right:5px;
margin-bottom:5px;
}

Sep 15 '05 #1
10 2062
Once upon a time *Summersnow* wrote:
Hey if anyone could help me this would be great, been staring at the
screen for over 2 hours and cant figure out why the image wont, align
to the top left and wrap the text around.
Any help would be great. Thanks.
The URL is
http://www.gadago.net/summersnow/scr...Submit=Proceed.

My CSS is below, and the img.camp is the one that I cant get to work.

.bodytext {
margin: 0px;
background: #FEEF39;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#000000;
font-size:12px;
}

.header {
margin: 0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
font-size:12px;
}

p {
margin-top: 4px;
margin-bottom: 4px;
}

/* below is the drop down styles */

option {
font-family:"Courier New", Courier, mono;
font-size:12px;
color:#996600;
background:#FFFF66;
}

option.one {
background: #FEEF39;
}

option.two {
background: #FFFF88;
}

/* below is the button styles */

button.btn{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#696;
border-left-color:#696;
border-right-color:#363;
border-bottom-color:#363;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}

button.btnhov{
color:#996600;
font-family:'trebuchet ms',helvetica,sans-serif;
font-size:84%;
font-weight:bold;
background:#FFFF66;
border:2px solid;
border-top-color:#c63;
border-left-color:#c63;
border-right-color:#930;
border-bottom-color:#930;
filter:progid:DXImageTransform.Microsoft.Gradient

(GradientType=0,StartColorStr='#ffffffff',EndColor Str='#ffeeddaa');
}
.footer {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #CCCCCC;
}

.anchor {
background:#FEEF39;
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#ffffff;
}

/* navigation links on anchor */

ul {
list-style-type: none;
overflow: auto;
padding: 0;
margin: 0;
}

ul li {
float: left;
border: 1px solid #333;
border-bottom: none;
margin: 0 5px;
background:FFFF56;
}

ul li a {
display: block;
padding: 10px 20px;
text-decoration: none;
}

ul li a:hover {
text-decoration: underline;
background:#996600;
}
/* --------------*/

/* to make the above work on IE browsers is below */

* html ul li a {
width: 1%;
}
/* below to align and float images */

img.camp {
position: absolute;
top:50px;
left:50px;
float:right;
clear:right;
margin-right:5px;
margin-bottom:5px;
}


Start with clearing up the mess you have in the code, with the help of
http://validator.w3.org/

For example, you have duplicated the top most part of the code
(including the counter script), so the same that is coming up again
further down should be removed.

--
/Arne
Now killing posts originating at GoogleGroups
Sep 15 '05 #2
Yeah ive been trying to sort that out, its due to the fact there are
alot of php includes and when I first started the site I didnt really
plan it very well.

Sep 15 '05 #3
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Sep 15 '05 #4
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane
Sep 15 '05 #5
On Thu, 15 Sep 2005 16:20:02 GMT, Diane Wilson wrote:
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane


You obviously have no idea what you are talking about.
Sep 16 '05 #6
On 15 Sep 2005 07:07:17 -0700, Summersnow wrote:
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.


You blame PHP ! yet in your earlier post you admit that you didn't plan it
very well, a bad workman blames his tools.
Sep 16 '05 #7
In article <2r****************************@40tude.net>,
Ob*****@godhelpme.com says...
On Thu, 15 Sep 2005 16:20:02 GMT, Diane Wilson wrote:
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane


You obviously have no idea what you are talking about.

Argument by ad hominem attack and unsupported assertion. Impressive.
Sep 16 '05 #8
On Fri, 16 Sep 2005 19:36:22 GMT, Diane Wilson wrote:
In article <2r****************************@40tude.net>,
Ob*****@godhelpme.com says...
On Thu, 15 Sep 2005 16:20:02 GMT, Diane Wilson wrote:
In article <11**********************@g47g2000cwa.googlegroups .com>,
Pl*******@gmail.com says...
Youll never guess what thats all it took, cleaned it up and relooked at
the php includes and now it works, not a huge fan of this weakly typed
language! Thanks for your help.

Yeah, PHP is for small stuff where quick-and-dirty is OK. I'm moving
towards ASP.NET; it's not free and it has a big learning curve, but
the benefits are huge. Strong typing is just the beginning.

Diane


You obviously have no idea what you are talking about.

Argument by ad hominem attack and unsupported assertion. Impressive.


Yes if what you purported where facts, backed up by relevant data, rather
than a fallacy.

And maybe you should look up what ad hominem means <quote>Asserting that
someone's argument is wrong and/or they are wrong to argue at all purely
because of something discreditable/not-authoritative about the person or
those persons cited by them rather than addressing the soundness of the
argument itself</quote>

Your assertion that <quote>PHP is for small stuff where quick-and-dirty is
ok</quote> is unfounded and unsupported by any evidence so can only be
conjecture on your part.
Sep 17 '05 #9

brilliant a slagging match on a forum!
Your mistaken Im afraid to take that away from you, I was saying that
my bad organising was the problem!And php wasnt the language I was
reffering to really as the weakly typed language as it will not
function with errors I was reffering to the HTML that will work
regardless of errors. I think PHP is brilliant, does loads of stuff and
is the most used SAPI Ive been told. Sorry to disapoint you but yeah I
was saying it was my fault.
--
SummerSnow
------------------------------------------------------------------------
SummerSnow's Profile: http://www.highdots.com/forums/m925
View this thread: http://www.highdots.com/forums/t2925601

Oct 4 '05 #10
Diane Wilson wrote:
Argument by ad hominem attack and unsupported assertion. Impressive.


Well it was neither an ad hominem nor unsupported. You claimed that ASP
was better because it had strong typing, which shows you're clearly
unfamiliar with both ASP _and_ strong typing.

No doubt mauve has the most RAM as well.

Oct 4 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris Gurk | last post by:
Hi Newsgroup, I am working on a website http://www.charter-yachtcharter.com/testsite/ (still in progress). There are two lists. The first is a simple paragraph (<p>-Tag), the second an...
3
by: SuzyQ | last post by:
Hey - I'm afraid I'm a js wannabe - I can copy 'em from js sources but can't write 'em. I need to float a balloon image across my classroom website. I've seen this done with other images but can't...
5
by: sp_mclaugh | last post by:
Hi. I've just recently switched to using CSS (rather than tables) to display collections of thumbnails. That way, depending on the user's screen resolution and browser window size, the number of...
31
by: Martin Clark | last post by:
Hello, I am daring to stick my head above the parapet and ask as question. I am working on redesigning a website to use CSS rather than tables for layout. I have come across a problem when trying...
0
by: Paul Sudbrock | last post by:
http://www.bbfi-europe.org/Sudbrock/blog/blog.html I want to float this image right aligned http://bbfi-europe.org/Sudbrock/blog/logo1.jpg over this background ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.