# HTML & CSS

**URL:** https://www.phphelp.com/c/html-css/16.md?page=3

[Latest](https://www.phphelp.com/latest.md) · [Categories](https://www.phphelp.com/categories.md)

**Page:** 4

---

## [Freeze header row](https://www.phphelp.com/t/freeze-header-row/25755)

<div class="topic-metadata">

**Author:** [@tqmd1](https://www.phphelp.com/u/tqmd1)\
**Replies:** 2\
**Last updated:** [March 7, 2017, 4:19am UTC](https://www.phphelp.com/t/freeze-header-row/25755 "2017-03-07T04:19:09Z")

</div>

Sir is it possible to freeze table header row? I am trying to freeze header row in scrollable div. Please see my codes here I want header row with green color must remain in its place when I scroll the div. Please …

---

## [I am losing my mind, this has never happen to me.](https://www.phphelp.com/t/i-am-losing-my-mind-this-has-never-happen-to-me/25716)

<div class="topic-metadata">

**Author:** [@Strider64](https://www.phphelp.com/u/Strider64)\
**Replies:** 1\
**Last updated:** [February 7, 2017, 11:32am UTC](https://www.phphelp.com/t/i-am-losing-my-mind-this-has-never-happen-to-me/25716 "2017-02-07T11:32:10Z")

</div>

I’m creating this website https://www.triviaintoxication.com/ and I am having a bugger of a time with my html/css footer. Here’s my HTML: \[php\]\<?php require\_once ‘lib/includes/utilities.inc.php’; use website\_project\\…

---

## [\<th\> and \<td\> not aligning!](https://www.phphelp.com/t/th-and-td-not-aligning/25629)

<div class="topic-metadata">

**Author:** [@jackh](https://www.phphelp.com/u/jackh)\
**Replies:** 2\
**Last updated:** [December 14, 2016, 11:06am UTC](https://www.phphelp.com/t/th-and-td-not-aligning/25629 "2016-12-14T11:06:45Z")

</div>

Hi All, I have a table which gets data from my database. The table is made from html and php. \<table width="100%" border="1" cellpadding="1" cellspacing="1"\> \<tr\> \<th\>Make\</th\> \<th\>Model\</th\> \<th\>Price\</…

---

## [CSS PROBLEMS](https://www.phphelp.com/t/css-problems/25622)

<div class="topic-metadata">

**Author:** [@artis23](https://www.phphelp.com/u/artis23)\
**Replies:** 1\
**Last updated:** [December 11, 2016, 7:30am UTC](https://www.phphelp.com/t/css-problems/25622 "2016-12-11T07:30:15Z")

</div>

Hello again i am having problems with CSS i have php code like HTML CODE HTML CODE php echo "\[b\]HTML CODE HTML CODE HTML CODE\[/b\]-- here everything is working HTML CODE HTML CODE-- CSS is not working "'; php Wierd p…

---

## [Is there a table column\<tc\> instead of Table row \<tr\>? ](https://www.phphelp.com/t/is-there-a-table-column-tc-instead-of-table-row-tr/25586)

<div class="topic-metadata">

**Author:** [@bogski](https://www.phphelp.com/u/bogski)\
**Replies:** 7\
**Last updated:** [November 18, 2016, 2:31am UTC](https://www.phphelp.com/t/is-there-a-table-column-tc-instead-of-table-row-tr/25586 "2016-11-18T02:31:29Z")

</div>

Hello, I am hoping there is a way to place the number from top to bottom. Here is a sample from the code in simple HTML \[code\] 1 2 3 4 5 6 7 8 9 0 \[/code\] Result will be: 12345 67890 …

---

## [How to change text field background color only for placeholder text?](https://www.phphelp.com/t/how-to-change-text-field-background-color-only-for-placeholder-text/25564)

<div class="topic-metadata">

**Author:** [@prohor](https://www.phphelp.com/u/prohor)\
**Replies:** 2\
**Last updated:** [November 4, 2016, 12:54am UTC](https://www.phphelp.com/t/how-to-change-text-field-background-color-only-for-placeholder-text/25564 "2016-11-04T00:54:40Z")

</div>

I want to change text fields background color only for placeholder text. What will change from “green” to "white" when any text is inserted. I want to keep it different when mouse over it. I wrote a code but text field’s…

---

## [Select boxes and trailed titles are far apart](https://www.phphelp.com/t/select-boxes-and-trailed-titles-are-far-apart/25544)

<div class="topic-metadata">

**Author:** [@Baby\_Bean](https://www.phphelp.com/u/Baby_Bean)\
**Replies:** 2\
**Last updated:** [October 26, 2016, 4:18pm UTC](https://www.phphelp.com/t/select-boxes-and-trailed-titles-are-far-apart/25544 "2016-10-26T16:18:39Z")

</div>

Hi everyone, Although this is a PHP forum and my app. is PHP too, my problem lays, I think, in CSS programming but I cannot display it in a CSS forum since it is a \*PHP \*MySQL \*HTML \*CSS combination. I hope someon…

---

## [Code for website](https://www.phphelp.com/t/code-for-website/25500)

<div class="topic-metadata">

**Author:** [@PHILnBOAZ](https://www.phphelp.com/u/PHILnBOAZ)\
**Replies:** 2\
**Last updated:** [October 11, 2016, 11:06pm UTC](https://www.phphelp.com/t/code-for-website/25500 "2016-10-11T23:06:14Z")

</div>

“Please enter URLs to external Javascript files to be loaded with this style”. What is the site asking me to do?

---

## [scroll content between divs.](https://www.phphelp.com/t/scroll-content-between-divs/25354)

<div class="topic-metadata">

**Author:** [@Andy](https://www.phphelp.com/u/Andy)\
**Replies:** 5\
**Last updated:** [July 27, 2016, 3:00pm UTC](https://www.phphelp.com/t/scroll-content-between-divs/25354 "2016-07-27T15:00:03Z")

</div>

Hi all, I have a scroll div which holds some links and these are held within a sidebar div: \[code\] Lorem Ipsum Link 1 Link 2 Link 3 Link 4 Link 5 \[/code\] As a user scrolls up/down I want the scroll div and links…

---

## [new to php need help badly ](https://www.phphelp.com/t/new-to-php-need-help-badly/25313)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 1\
**Last updated:** [June 30, 2016, 3:00am UTC](https://www.phphelp.com/t/new-to-php-need-help-badly/25313 "2016-06-30T03:00:48Z")

</div>

here is my html document, it points to a php script to input data, which works fine. what i am having a problem with is displaying the table after data is input to the db. basically what i want to achieve is have user i…

---

## [\<INPUT\> statement](https://www.phphelp.com/t/input-statement/25138)

<div class="topic-metadata">

**Author:** [@gw32](https://www.phphelp.com/u/gw32)\
**Replies:** 2\
**Last updated:** [June 8, 2016, 4:41pm UTC](https://www.phphelp.com/t/input-statement/25138 "2016-06-08T16:41:48Z")

</div>

I have the following line in my code. echo "\<pDid Player Attend? - "; I need it to send a value = 0 when not selected and a value = 1 when selected. This is inside a along with other inputs. How do I do this? I will…

---

## [RECORDS NOT DISPLAYED IN DESC ORDER FROM MYSQL IN HTML](https://www.phphelp.com/t/records-not-displayed-in-desc-order-from-mysql-in-html/25234)

<div class="topic-metadata">

**Author:** [@samm](https://www.phphelp.com/u/samm)\
**Replies:** 4\
**Last updated:** [May 21, 2016, 6:05pm UTC](https://www.phphelp.com/t/records-not-displayed-in-desc-order-from-mysql-in-html/25234 "2016-05-21T18:05:57Z")

</div>

• The records are not being displayed in the right order all of the rows are in descending order but when displayed in html they are not in descending order I have no idea what is wrong if you look at number 2 it is th…

---

## [Weird Display](https://www.phphelp.com/t/weird-display/25142)

<div class="topic-metadata">

**Author:** [@gw32](https://www.phphelp.com/u/gw32)\
**Replies:** 8\
**Last updated:** [April 18, 2016, 8:27pm UTC](https://www.phphelp.com/t/weird-display/25142 "2016-04-18T20:27:18Z")

</div>

I have the following statement in my code: $satt = ( $att = 0 ) ? ‘No’ : ‘Yes’ $satt It does not display the correct Yes/No and on the screen I get this = ( 0 = 0 ) ? ‘No’ : ‘Yes’ above my table. What do I have wrong? …

---

## [Rating won't centre](https://www.phphelp.com/t/rating-wont-centre/25081)

<div class="topic-metadata">

**Author:** [@jcvamp](https://www.phphelp.com/u/jcvamp)\
**Replies:** 1\
**Last updated:** [April 4, 2016, 8:54pm UTC](https://www.phphelp.com/t/rating-wont-centre/25081 "2016-04-04T20:54:14Z")

</div>

I am using a script from a website to create a rating system. \[php\]fieldset{margin:auto; padding:0;} label{margin: 0; padding: 0;} .rating{border: none; float: left;} .rating \> input{display: none;} .rating \> label:…

---

## [Menu items with dropdown are lower than others](https://www.phphelp.com/t/menu-items-with-dropdown-are-lower-than-others/25071)

<div class="topic-metadata">

**Author:** [@jcvamp](https://www.phphelp.com/u/jcvamp)\
**Replies:** 1\
**Last updated:** [April 1, 2016, 2:02am UTC](https://www.phphelp.com/t/menu-items-with-dropdown-are-lower-than-others/25071 "2016-04-01T02:02:32Z")

</div>

This is the css. #top-nav {position: absolute; top: 115px; left: 17px; font-size: 1.333em;} #top-nav ul {list-style-type: none; margin: 0; padding: 0; overflow: hidden;} #top-nav li {float: left;} #top-nav li a, .dropbt…

---

## [Change action from button to navbar link](https://www.phphelp.com/t/change-action-from-button-to-navbar-link/25042)

<div class="topic-metadata">

**Author:** [@rodb](https://www.phphelp.com/u/rodb)\
**Replies:** 2\
**Last updated:** [March 23, 2016, 2:47am UTC](https://www.phphelp.com/t/change-action-from-button-to-navbar-link/25042 "2016-03-23T02:47:09Z")

</div>

Hi all, I am trying to use some code on implementing a Modal Popup WIndow. The popup example uses a button to implement action; however, I would like to do the same but with a link on a dropdown navbar menu. The exampl…

---

## [HELP! ramdon white spaces](https://www.phphelp.com/t/help-ramdon-white-spaces/25020)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 3\
**Last updated:** [March 17, 2016, 5:30pm UTC](https://www.phphelp.com/t/help-ramdon-white-spaces/25020 "2016-03-17T17:30:01Z")

</div>

I know this is not php, but i coundnt find anywhere where i can help. I have this ramdon white spaces in between my elements and i dont know how to get rid of them. I tried margin and padding 0, and everything on the int…

---

## [Trouble in connecting to database and editing simple inline table](https://www.phphelp.com/t/trouble-in-connecting-to-database-and-editing-simple-inline-table/24997)

<div class="topic-metadata">

**Author:** [@riyuwe](https://www.phphelp.com/u/riyuwe)\
**Replies:** 3\
**Last updated:** [March 8, 2016, 8:00pm UTC](https://www.phphelp.com/t/trouble-in-connecting-to-database-and-editing-simple-inline-table/24997 "2016-03-08T20:00:36Z")

</div>

Forgive me if I am not good in programming. I am trying my best. I am using Charisma Bootstrap template then I used their php version. I wanted to enhance their table where it can use to edit,delete,update and add new re…

---

## [User editable gallery code or plugin?](https://www.phphelp.com/t/user-editable-gallery-code-or-plugin/24958)

<div class="topic-metadata">

**Author:** [@beelzebomb](https://www.phphelp.com/u/beelzebomb)\
**Replies:** 12\
**Last updated:** [February 23, 2016, 10:20pm UTC](https://www.phphelp.com/t/user-editable-gallery-code-or-plugin/24958 "2016-02-23T22:20:01Z")

</div>

We’ve used Idut Gallery for ages now, but it seems to be no longer supported and piling up more and more issues as it goes along unchanged, to the point where it’s almost unusable now. Are there any other ‘plugin’ galle…

---

## [Displaying web pages with different screen resolutions](https://www.phphelp.com/t/displaying-web-pages-with-different-screen-resolutions/24919)

<div class="topic-metadata">

**Author:** [@willH](https://www.phphelp.com/u/willH)\
**Replies:** 2\
**Last updated:** [February 8, 2016, 4:03pm UTC](https://www.phphelp.com/t/displaying-web-pages-with-different-screen-resolutions/24919 "2016-02-08T16:03:52Z")

</div>

Hi, a nice day to all, I’m AVERAGE creator HTML pages and desperately needs advice. I created a web page with three different columns on a laptop with a resolution of 1920x1080. Problem is with pages on screens with low…

---

## [center paragraph horizontal](https://www.phphelp.com/t/center-paragraph-horizontal/23830)

<div class="topic-metadata">

**Author:** [@Farid](https://www.phphelp.com/u/Farid)\
**Replies:** 7\
**Last updated:** [December 11, 2015, 1:35pm UTC](https://www.phphelp.com/t/center-paragraph-horizontal/23830 "2015-12-11T13:35:26Z")

</div>

Hi, I have the following code : \<div style='width: 350px; height: 300px; border: 2px solid #000000;' align='center'\>\<p style='text-align: left;'\>\<?php echo $contact; ?\>\</p\>\</div\> I want the paragraph to be centered hor…

---

## [Webpage not loading on mobile](https://www.phphelp.com/t/webpage-not-loading-on-mobile/24789)

<div class="topic-metadata">

**Author:** [@jcvamp](https://www.phphelp.com/u/jcvamp)\
**Replies:** 2\
**Last updated:** [December 7, 2015, 9:58pm UTC](https://www.phphelp.com/t/webpage-not-loading-on-mobile/24789 "2015-12-07T21:58:48Z")

</div>

I’ve created a mobile version of my website on a subdomain, and two of the webpages load on my Windows browser, but not on the mobile. The non-mobile webpages load on the mobile. The only difference between the mobile an…

---

## [PHP and HTML and FORM Select Statement](https://www.phphelp.com/t/php-and-html-and-form-select-statement/24782)

<div class="topic-metadata">

**Author:** [@ZoomBerry](https://www.phphelp.com/u/ZoomBerry)\
**Replies:** 2\
**Last updated:** [December 6, 2015, 5:17pm UTC](https://www.phphelp.com/t/php-and-html-and-form-select-statement/24782 "2015-12-06T17:17:39Z")

</div>

Hi there! I am trying to use PHP and a form with a SELECT statement. When I try to save the content, it will save it correctly the first time, but the second time it only saves the first word of the content (it cuts off…

---

## [Looking for in-depth guide on Responsive Design and media queries using dppx](https://www.phphelp.com/t/looking-for-in-depth-guide-on-responsive-design-and-media-queries-using-dppx/24776)

<div class="topic-metadata">

**Author:** [@Technetium](https://www.phphelp.com/u/Technetium)\
**Replies:** 3\
**Last updated:** [December 5, 2015, 2:04am UTC](https://www.phphelp.com/t/looking-for-in-depth-guide-on-responsive-design-and-media-queries-using-dppx/24776 "2015-12-05T02:04:30Z")

</div>

I’m about to take on the task of making my existing website mobile-friendly. I have read that using a Responsive Design is generally considered the best way to do this, using CSS media queries to change the look of the p…

---

## [HTML form data to CSV File using php code](https://www.phphelp.com/t/html-form-data-to-csv-file-using-php-code/24634)

<div class="topic-metadata">

**Author:** [@system](https://www.phphelp.com/u/system)\
**Replies:** 2\
**Last updated:** [October 12, 2015, 7:55pm UTC](https://www.phphelp.com/t/html-form-data-to-csv-file-using-php-code/24634 "2015-10-12T19:55:08Z")

</div>

I need help with a php code that can take the information from a filled out html form and send the info to a csv file in the background (or on the host site). Taking a basic form as provided and the function $\_POST how c…

---

## [How to make a quick registration form](https://www.phphelp.com/t/how-to-make-a-quick-registration-form/24610)

<div class="topic-metadata">

**Author:** [@Strider64](https://www.phphelp.com/u/Strider64)\
**Replies:** 2\
**Last updated:** [October 3, 2015, 6:15pm UTC](https://www.phphelp.com/t/how-to-make-a-quick-registration-form/24610 "2015-10-03T18:15:56Z")

</div>

I put together a quick registration form that someone might want to use. I uses sass with compass, but you can view the compiled css by press compiled, if you’re not using Sass. :wink: Here’s the link : http://codepen…

---

## [Supporting HTML5 in older browsers...](https://www.phphelp.com/t/supporting-html5-in-older-browsers/24370)

<div class="topic-metadata">

**Author:** [@Spork\_Schivago](https://www.phphelp.com/u/Spork_Schivago)\
**Replies:** 8\
**Last updated:** [July 8, 2015, 3:32am UTC](https://www.phphelp.com/t/supporting-html5-in-older-browsers/24370 "2015-07-08T03:32:11Z")

</div>

I am writing a website. It uses some HTML5 tags (like the nav tag). I’m under the impression, older browsers like IE6’s default behavior when it comes upon an unknown tag is to ignore it. My webpage won’t look correc…

---

## [CSS3 HTML5 browser support?](https://www.phphelp.com/t/css3-html5-browser-support/24172)

<div class="topic-metadata">

**Author:** [@bintje](https://www.phphelp.com/u/bintje)\
**Replies:** 7\
**Last updated:** [July 7, 2015, 6:19pm UTC](https://www.phphelp.com/t/css3-html5-browser-support/24172 "2015-07-07T18:19:49Z")

</div>

I want to learn CSS3 and HTML5, but how’s the browser support? Are they good?

---

## [Help with a navigation bar.](https://www.phphelp.com/t/help-with-a-navigation-bar/24356)

<div class="topic-metadata">

**Author:** [@Spork\_Schivago](https://www.phphelp.com/u/Spork_Schivago)\
**Replies:** 6\
**Last updated:** [July 4, 2015, 12:23am UTC](https://www.phphelp.com/t/help-with-a-navigation-bar/24356 "2015-07-04T00:23:40Z")

</div>

Hi. I’m new to web design. I have a nav bar that changes when the window size is small (either on resize or on a smaller device). I’m having issues with the code though. I want it when the user hovers on the nav bar…

---

## [FF display problem -- used to be -- Problem PLEASE HELP!](https://www.phphelp.com/t/ff-display-problem-used-to-be-problem-please-help/24332)

<div class="topic-metadata">

**Author:** [@langloisbrandon](https://www.phphelp.com/u/langloisbrandon)\
**Replies:** 3\
**Last updated:** [June 17, 2015, 8:50pm UTC](https://www.phphelp.com/t/ff-display-problem-used-to-be-problem-please-help/24332 "2015-06-17T20:50:45Z")

</div>

Okay, so in Firefox my site has a graphic problem but in IE it looks fine check it out http://www.bxwebdesign.com/template.php

[Previous page](https://www.phphelp.com/c/html-css/16.md?page=2)

[Next page](https://www.phphelp.com/c/html-css/16.md?page=4)
