Arne-Christian
Sep 22 2006, 08:59 PM
Well i am currently working on a project, and for this i need to fix this little error:  Code is: CODE $this->frm .= "<style type=\"text/css\"> <!-- .style1 {color: #000000} --> </style>{$this->top} <from action=\"$PHP_SELF\" method=\"post\" name=\"\"> <table width=\"800\" border=\"0\" align=\"center\" cellspacing=\"0\"> <table width=\"800\" border=\"0\" align=\"center\" cellspacing=\"0\"> <tr> <td class=\"a_inf\" style=\"padding-bottom: 10px;\"><strong id=\"b\" align=\"center\"><div align=\"center\">Edit Username</div><br></strong> <form name=\"form\" method=\"post\"><table width=\"600\" border=\"0\" cellspacing=\"0\" align=\"center\"> <tr> <td colspan=\"4\" class=\"eb_forum\"><div align=\"center\"><b>Insert Username:</b></div></td> </tr> <tr> <td class=\"a_inf\" style=\"width: 100px; border-top-width: 0;border-right-width:0;\">Username:</td> <td class=\"a_inf\" style=\"width: 300px; border-top-width: 0; border-right-width:0;\"><input type=\"text\" id=\"usrn\" name=\"usrs\" style=\"width: 300px; border: 1px solid #a6a6a6;\"></td> <td class=\"a_inf\" style=\"width: 200px; border-top-width: 0;border-right-width:0; border-left-width: 0;\"><input type=\"submit\" name=\"Submit\" value=\"Find User\"></td> <td class=\"a_inf\" style=\"width: 200px; border-top-width: 0;border-left-width: 0;\"><input type=\"button\" name=\"is\" value=\"Search after username\" onClick=\"java script: open_search();\"></form></td> </tr> </table> </div> </td> </tr> </table></form>"; ignore all the \ slashes, i am programming in PHP so i need them and the CSS code for that is: CODE .a_inf input { border: 1px solid #a6a6a6; font: Verdana, Arial, Helvetica, sans-serif; }
Reply
jlhaslip
Sep 22 2006, 09:07 PM
CODE <from action=\"$PHP_SELF\" method=\"post\" name=\"\"> Is this a typo? Should it be: CODE <form action=\"$PHP_SELF\" method=\"post\" name=\"\"> ??? also, there must be more CSS than what shows in your posting. Try setting the margins and padding to zero and then re-view the code. Is this page up-loaded to a public server and could you post a link, please? It is easier to diagnose these things with the full html and css available, but the margins and padding settings are something to start looking at, based on what I can see here.
Reply
Arne-Christian
Sep 22 2006, 09:21 PM
CODE /**********************************************/ /** Admin CSS File by Arne-Christian Blystad **/ /**********************************************/ .a_logo { background-image: url(Images/logo.gif); border: 1px solid #a6a6a6; height: 106px; width: 800px; background-repeat:repeat-x; } .a_inf { background-color: #FFFFFF; border: 1px solid #a6a6a6; width: 800px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; color: #000000; } .a_inf #b { color: #00CCCC; font-size: 14px; font-weight:bold; } .a_item { color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; border: 1px solid #a6a6a6; text-decoration: none; background-image: url(Images/item.gif); padding: 5px; width: 100px; border-top-width: 0; } .a_item a:hover { color: #00CCCC; }; .a_menu { background-image: url(Images/menu.gif); border: 1px solid #a6a6a6; height: 58px; font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; width: 800px; } .menu { color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; border-left: 1px solid #1b3858; border-right: 1px solid #1b3858; text-decoration: none; background-image:url(Images/menu.gif); padding: 5px; }
.menu:hover { background-image:url(Images/menu_hover.gif); }
.toolbar { padding: 5px 0px 5px 0px; background-image:url(Images/menu.gif); border: 1px solid #a6a6a6; width: 800px; } .a_inf input { border: 1px solid #a6a6a6; font: Verdana, Arial, Helvetica, sans-serif; margin: 0 0 0 0; padding: 0 0 0 0; }
thats the full CSS file... any ideas? and i dont feel ensured that if i put out the link to my server here that someone wont play around with my config since 99% of my admin panel is working now 100% functionaly
Reply
jlhaslip
Sep 22 2006, 09:34 PM
If you have a Firefox Browser and the Web Developer's tool, check the html structure closely. There are several forms, several tables and a div inside a td element which, of course, is inside a tr element. And all nested, so the interpretation is going to differ (guaranteed) between the Gecko Browsers and IE. IE is (as you most likely know) terribly buggy and since the nesting of tables and tr's, td's etc, is confusing.... it probably isn't getting it right. One thing you might do is evaluate the DTD for the page. Some DTD's put IE in Quirks Mode, which means there are no standards used when the page is rendered and IE will *guess* at a lot of the element's positioning. I don't use any IE Browsers, but Google on "IE quirks mode" to see if there is a DTD which will force IE to NOT use Quirks Mode to see if the output is more suitable for you.
Reply
Plenoptic
Sep 22 2006, 09:40 PM
If the advice jlhaslip has given you doesn't work then I would suggest entering the URL for your web site here http://validator.w3.org/ to check the HTML. It will tell you where you have errors and once the site is completely validated it should work in both Firefox and IE. Or if you don't have it uploaded you can upload the file for them to check or copy and paste the code in. You can also do the same for CSS at http://jigsaw.w3.org/css-validator/
Reply
Arne-Christian
Sep 22 2006, 11:41 PM
Works now, Thanks
Reply
Similar Topics
Keywords : error, css, html
- Help Making A Web Adress Bar Using Html/js
(9)
Html Ascii Codes - A Complete List
downloadable php file (3) I was often frustrated at how, despite there being thousands of ASCII "special characters" such as
&8659; , websites that claimed to list them all only listed the first 256. To combat this issue,
I have created a table which lists the first 10,001 - from � to &10000; I am sure
there are many more but it is simply not feasible to create a table with many more rows as viewing
it would put terrific strain on the browser.! You can download the file in two forms. One uses
PHP to dynamically create the table (1KB), the other has it ready-made in pure HT....
Html Div Help [resolved]
help with the divs in ipb (1) hey guys, as you may know, i have ipb 2.3.4 set up on my site. i am currently using the centura
skin and like it a lot. i have customised the header bar in terms of the logo, however also want a
slab of text linking to the forums home at the top of the banner. i have so far managed to achieve
this to work in firefox (see attached screenshot), however it just screws up in ie, opera and safari
(i think). the link is here here is the code, both html and css, of the ipb header, and i have
placed between stars the parts i have edited: CODE the css (only the ed....
Best Way To Protect Html Form Fields
Looking for suggestions on how to protect form fields during user inpu (3) My working example is here http://sonesay.trap17.com/application.php The form submits to itself
and stores what ever the user inputs into session variables. Thats all fine and I have validation
checks for it, I wanted to add more and I remember comming across a site where they would lock from
fields to prevent any changes if the information was already supplied and validated. I'm looking
to build something similar but cant seem to figure out how to get that same effect at this time.
Heres my program logic so far application.php includes('application_content.....
Html Application Form
(6) does anyone know how to make a form/application that when you submit the form with the submit but it
sends it in a email to you email address if anyone on here knows please please let me know thanks, i
want this so i can have members apply for a team on my football site and there information will come
back to me and i can accept or reject them for that job....
Login In Using Html
(12) I have looked around and I can't find any code to help me out. I want to make it so you can log
in to my site to get member featues. Could some one please help me....
Wanna Learn Html From Scratch
downloade an online tutorial,formatted my c: lost it forever,and FORGO (5) id prefer something i can download .....coz my internet connection is highly intermittant Moved
from the Java section to the HTML section. ....
Help With Css/html Layout
Horizontal List Problems (5) I can't figure out why this horizontal list isnt working. Underneath my banner is supposed to
be a green gradient bar with a list of links in the center of the page. The links are all the way
to the left and are really small. The banner is also overlapping the list for some reason. This is
my current layout(don't worry, I'm not trying to advertise).
http://www.stormgaming.net/stormcreations/ This is my CSS file
http://www.stormgaming.net/stormcreations/storm.css Thanks in advance for any help.....
Html Help
(6) ok so i need help again i was wondering how i can make a navigation bar that looks like this
Free Website Templates <!-- Start of Page Menu -->
Information Slide Show Pictures title="Time Line"> Time
Line <!-- End of Page Menu --> Im having a problem putting
the names of things that i want to go in those four boxes i tried to put in names but it didnt show
up so i was wondering if anyone could give me some help....
Some More Help With Html
(2) Ok so yet again i need some help i have this so far: CODE <html> <head>
</head> <BODY BGCOLOR="black" TEXT="white" LINK=#XXXXXX
VLINK=#XXXXXX> <body> <center><h1> Pearl
Harbor</h1></center> <hr> <p> <a
href="http://photobucket.com" target="_blank"><img
src="http://i173.photobucket.com/albums/w59/tuhyd/pearlharbor.jpg" border="0"
align=right alt="USS Arizona "></a></right> <a ....
Ok Background Help Please
html (4) OK so i've given up on the paint for background now how would i get it to look like this
http://img.photobucket.com/albums/v614/Dj1.../background.jpg without using paint and without it
coming out to look like this... http://img.photobucket.com/albums/v614/Dj169211/Damn.jpg like,
with just html code, not trying to use paint and do the BS any ideas?....
Help With Html
(11) Ok so i just started learn html about a couple of weeks ago and i make a background image using this
code: CODE <style type="text/css"> body {
background-image:url("http://img.photobucket.com/albums/w59/tuhyd/backgrounds.jpg
4;); background-repeat: no-repeat}</style> and i am having trouble putting my
text on the top in the center becasue my links are on the left every time i try and move the text up
it moves the links down and separates them and i don't know what to do. added code tags.
please use appropri....
How To Display Php Code [resolved]
Html Help With Php Codebox (8) I'm trying to make codebox for my guestbook so that users can post PHP code inside.. I tried
many versions but none of them works If i use , or i can display HTML code, but when i try to
write PHP code it executes it does not display.. There is a way to make swap for You have codebox
in forum to display php how can i make that?! thanks....
Html Query
HTML Query (2) OK, so I want to know if it's possible to have my links as a seperate file and simply reference
that file in the rest of my site's pages so that if I change the links, I don't have to go
and edit every single page of my site. Does anyone know how to do this?....
Help With Nav Menu Error
(5) my webpage http://switchfoot.ifastnet.com/index.php has something wrong with it, as soon as you
load the page the menu appears on the right then goes to it's spot on the left, any help? As
Soon As Poosible would be nice but there is no rush really.... (only hosting it there for now, when
i finish the website it will be moved to trap) Title needs to be more discriptive then just
help, so as to get a better answer from the members. ....
Having Html Troubles......
Please help! (0) I'm having troubles with the background colours on the HTML pages on my site
keri-j.trap17.com Basically, the colors are hex codes and i'm no HTML n00b, god no! But, I
just can't figure this one out! I have the background colour in the body tag (duh) " " on
all my pages but on some of them the background is white. This might be to do with some javascript i
have recently edited in each page or certain errors but whatever it is i can't figure it
out! This is my homepage with the correct background color This is my poetry page with the
fau....
Wanting To Touch Up/learn My Html Again
(26) Ok, well recently i realized that i am not as skilled in HTML (such as building website layouts) as
i want to be, with tables etc... and so i was thinking about going through many many many many many
many sites and just touching up on my HTML and see if i can code my own website template before
starting to learn PHP because that is what i want to do. so, i am asking all of you experianced
people on trap17 what websites did you use to learn your HTML skills, yees i know i could go to
google and type in learn html or somthing along the lines of that, but i want to know wh....
Have You Used This Html Code?
very useful (9) how do you do if you want to put a video or audio file on you page...maybe you will use CODE
<object><param name=url value="url"></object>/*simple format*/
CODE <div><embed src="url"></embed></div> /*simple
format*/ there is a very familiar code for carring out the video show : CODE <img
dynsrc="http://kenvi9999.googlepages.com/ff7.wmv" border=1>/*an example:FF7*/
have you used this html code...I just knew a tag can achieve video play that is really co....
Creating Link In Html - Help Me With This!
(5) edit: Neeeaavverrrminddd..... I was a total noob at php when i posted this and I needed help doing
something with bbcode in php and didn't really know what I was saying.. /blush.gif"
style="vertical-align:middle" emoid=":blush:" border="0" alt="blush.gif" /> Anyway topic
resolved.......
Html Question Concerning Pre Tag And Code Tag
(8) My question is, why would anyone use the CODE tag when you can use the PRE tag? 1. The PRE tag
recognises white space, the CODE tag does not. 2. The CODE tag requires that you escape some
chars, the PRE tag does not. I cannot see anything that the CODE tag achieves that is special apart
from sounding as though it is perfect for displaying code which IMO it is not. Thanks. ....
Url Redirection = Javascript+html
Redirect using scripts! (4) In javascript Browser redirection can be done in 3 ways: 1) Alert Redirect: CODE
<html> <script> alert("This page has been moved to a new location...
click OK to be redirected."); location = "http://www.your-website.com";
</script> </html> 2) Confirm and Redirect: CODE <html>
<script> if(confirm("This page has been moved to a new location... would you
like to be redirected")) { location = "http://www.your-website.com";
}....
Problem With 'target' In Html
(2) Hi, I have this menu on my site which is build in a table. when pointing over a cel with mouse, the
background of the cell changes in white and produce a special code: CODE <td
align="center" bgcolor="#D6C2B4" class="bodystyle" style="font: 9px
Verdana" onClick="location.href='about.htm'"
onMouseOver="this.style.background ='#FFFFFF'"
onMouseOut="this.style.background='#D6C2B4'">ABOUT</td>
The normal linkcode is replaced by , onClick="location.href....
Centering Page Of Html At Various Display Widths
Viewing Screen Shots No Matter Resolution (14) I am running into a HUGE problem creating a website. When viewing the site on 800x600 it views in
the center of the page. When viewing the site on 1024x768 it views on the left side of the page. How
do I make the page always appear in the middle? I have seen many sites set up that will adjust
accordingly, but I cannot figure it out. If you want to view my source you can do so by going to the
website: www.faithcity.org/test.html. Moving to the html Topic ....
Html And Javascript
Not php as first indicated... (12) Edit your ScrollBar colors Change "Your color", to color code, that u need. CODE <STYLE
type="text/css"> <!-- BODY { scrollbar-face-color: Your color;
scrollbar-highlight-color: Your color; scrollbar-3dlight-color: Your color;
scrollbar-darkshadow-color: Your color; scrollbar-shadow-color: Your color;
scrollbar-arrow-color: Your color; scrollbar-track-color: Your color; } -->
</STYLE> Insert Date Place this code between , tags CODE <script
language=Javascript> <!-- v....
Do You Know Html?
Just Wondering, most of you would know. (65) Well I was just wondering, i know this polol might sound stupid, as this is a hosting site forum and
the chances are you do know HTML, but the other day i met 2 people who didt have a clue what HTML
was, and was just at the forum because they found this forum active. And also do you know any other
programming languages, just wondering. I myself know HTML, C++ kinda, and learing PHP. Talking about
Languages I know Tamil, English, Lote /tongue.gif' border='0' style='vertical-align:middle'
alt='tongue.gif' /> .....
A Question About Html Iframes
Need help in <iframe> (7) We have an upcoming project in our class...I've a cool idea of lay out but i hav a problem.
I'm using a lot of images. I need to embed my contents in those images (texts and graphics)
using table cells... My friend told that there is a so called tag to solve it but he doesn't
know how.... Can you please send me some hot info about parameter and hows' of iframes? Samples
would be great. Tnx... Use a more descriptive title next time. ....
Html Editor
non WYSIWYG (19) What editor can I download and use that isn't a WYSIWYG(what-you-see-is-what-you-get) and is
free. Currently I use NotePad but I want something better.....
Html Cool Codes?
(6) hey guys..whats up..well i ws just wondering if you guys have any cool codes for myspace or
something..you know to design a page using html/css codes...see i tried googling around but all the
sites had the same thing..they dont have a unique one...i want like games in my page...like my
friend he had like tetris in his page..and i want a game// or anything like that to make my page
cool /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' />
anybody????plz...PEAcE!....
Html And Xhtml
serving the right kind (11) Right now I have a site, which I've made XHTML 1.0 Strict. I am sending it as
application/xhtml+xml to browsers that say they can handle it, and as text/html to all other
browsers. Anyway, I started thinking that I'd much rather send proper HTML 4.01 to browsers that
don't understand XHTML instead of XHTML pretending to be HTML 4.01. It's not really a
problem with IE, because it is made to handle badly written sites, but who knows, some browser that
can handle HTML, but not XHTML, may be (correctly) parsing CODE <p> Hello <br />
World....
where did you learn html from?
(84) HI, i am intresting in knowing where you began learning html of what inspired you to start learning
html. which programs did you use or which progs dyu use?....
Looking for error, css, html
|
|
Searching Video's for error, css, html
|
advertisement
|
|