![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| CSS CSS styling code help for your website, CSS is like art and what makes your website look professional. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| I'm a newbie to CSS/XHTML, mySQL, and pHp.. however, I'm pretty quick on my feet. What I've learned in the last few weeks has been enough to accomplish close to what I want. What I'm at now though is something I'm finding very peculiar. I have a page (index.php), that pulls via php an entry out of a mySQL database. The result can contain html tags (like <ul><li><a>'s). The issue i'm having is odd. 1. The CSS for my class (postcontent) contains a padding tag. (say 10px). 2. The php puts the String returned from mySQL into a <p class="postcontent"></p>. 3. When there is a closing tag mark </*> it drops the remaining CSS affects from the postcontent (such as padding, etc). For example. [Post Title here - - - - Read More ] [ Post blah blah blah blah blah blah ] [ more blah <a href="....">blah</a>] [yet more blahblah blah blah ] [more more more more moremore ] should look like- [Post Title Here - - - - Read More ] [ Post blah blah blah blah blah blah ] [ more blah <a href="....">blah</a>] <-- here the link actually works. [ yet more blahblah blah blah ] [ more more more more moremore ] I don't know if this is a CSS bug, or a Php bug, but the PHP gruop doesn't seem to understand what I'm asking. Any help is appreciated. -Khai | |||
| Featured Websites | ||||
|
![]() |
| Tags: css, mysql, php, using |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySql++ | Jim Langston | Database | 1 | 06-10-2007 12:24 AM |
| MySQL and ASP.NET | Jack Smith | Database | 0 | 05-31-2007 8:46 PM |
| MySQL Query Cache Not Working: MySQL 5 / Windows XP | Good Man | Database | 0 | 05-31-2007 8:46 PM |
| MYSQL 4.0 => 4.1 | ja | Database | 1 | 05-31-2007 8:38 PM |
| can mySQL? | Pachy | Operating Systems And Software | 0 | 05-28-2007 5:53 PM |
| Featured Websites | ||||
|