![]() |
Using css in a non VB page?
I am not the best at html/php but based on what I found searching I have gotten quite far I just have two more issues I hope someone could help with.
I was hoping to use my VB CSS with this page I wrote since I included the navbar and footer. I also tried to manually add the colors to the <body> tag but then the page didn't work, I presume due to the javascript. Worse case (2nd problem) how can I format the navbar to fit the screen, it is about 120% too large so I have horizontal scroll bar on my browser. I would post the link but it's an adult site so I would prefer to send it by PM. Thanks in advance PHP Code:
|
Would it not be easier to create a page powered by vBulletin as opposed to combining hard-coded PHP and HTML into a single page? There is a wonderful tutorial on how to do just that below :).
https://vborg.vbsupport.ru/showthread.php?t=98009 Worth a read and may help you, in addition to lightening your load. |
It looks as if you're not linking to a css file.
Your header should begin something like this: PHP Code:
|
Quote:
Thank you very much, worked perfectly! |
Quote:
|
All times are GMT. The time now is 01:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|