|
Answer» Hello,
I am currently helping an NGO with the development of their FACEBOOK page. On Facebook, we are using the FBML app which reads HTML (I've successfully created a COUPLE of different tabs already).
The goals of this tab are to display four boxes of text which have different fonts, sizes, hyperlinks, pictures, and characteristics (bold, italic, etc). I have successfully created four boxes. However, when I try to reorder my boxes, everything goes kaput. Invalid hyperlinks are created, the font gets messed up, the whole thing just doesn't look right.
Attached are two codes.
SWJ Code 2 is the original code. When used, it displays the four boxes correctly.
SWJ Code is the new code with the reordered boxes. All that I have done is copy and paste the box's code and moved it up above.
I've tried and tried fixing this, but I can't figure out why the one box messes everything up. I've tried reprogramming from scratch and have had no success.
ANY help would be appreciated. The group I'm helping has limited funds, so we would like to avoid hiring a coder.
[recovering disk space - old attachment deleted by admin]Don't use absolute sizes in the in-line CSS.Ok, I got rid of the fonts sizes but am still having an issue.
Should I use percentages for the boxes?Part of your problem is you are missing some quotes in your hyperlinks
Look are around all your code that goes
Code: [SELECT]<A HREF= In particular the parts that END in .pdf, you are missing the quote at the end of the .pdf. The quotes are missing in at least 2 or 3 places
This problem exists in both of your files, but the browser interprets each differently depending upon the code above it.
I BELIEVE if you add the missing quotes, both pages will look more similar, though you may still need to do a bit more tweaking as well, possilby run it through a HTML validation tool to make sure all of your tags are properly terminatedOf course, we should all be using lower-case HTML tags now.... ...Ah, I miss the old days, before browsers paid attention to HTML standards , and all websites were ugly color schemes, hard to read, and had blinking text First off, thanks for taking the time to go through my code.
You were 110% right. The quotes were what was needed. As an amateur coder (if I even deserve that title), I missed that small point. I thought I knew how to hyperlink, but I was wrong. Thank you for pointing this out (I've repaired the code).
If I have anymore questions, I'll repost them here.
|