Click here to Skip to main content
15,394,193 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: CSS background(url) not working Pin
Richard Deeming26-Oct-20 22:26
mveRichard Deeming26-Oct-20 22:26 
GeneralRe: CSS background(url) not working Pin
Member 1497619926-Oct-20 22:30
MemberMember 1497619926-Oct-20 22:30 
QuestionChanging documentroot in Apache http.conf file causes PHP to stop working Pin
MontanaMan9-Oct-20 16:58
MemberMontanaMan9-Oct-20 16:58 
AnswerRe: Changing documentroot in Apache http.conf file causes PHP to stop working Pin
Graham Breach9-Oct-20 22:14
MemberGraham Breach9-Oct-20 22:14 
GeneralRe: Changing documentroot in Apache http.conf file causes PHP to stop working Pin
MontanaMan10-Oct-20 3:18
MemberMontanaMan10-Oct-20 3:18 
Questionadding colors css file? Pin
auting826-Oct-20 5:24
Memberauting826-Oct-20 5:24 
AnswerRe: adding colors css file? Pin
Richard MacCutchan9-Oct-20 21:59
mveRichard MacCutchan9-Oct-20 21:59 
AnswerRe: adding colors css file? Pin
W Balboos, GHB10-Nov-20 4:34
mveW Balboos, GHB10-Nov-20 4:34 
When you set a color or background-color style it applies to the items contained in that element.

Your entire page is a <body> element and so if you change the color at that level the entire page is effected. Now if you create an element within the body, like a <div>, you can control it's styles by putting them in that div. It will then not be spread to the entire page.

OK - now the only thing left for you to do. If you want the top of the page to be one color and the rest of the page to not be affected, you can put that div element at the top of the page. Color it. Put text in it. Put images in it. Anything you want.

It's actually extremely common (probably why you want to do it) - becomes a page header, visually.


Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

QuestionASP.net Web API Errors Pin
Kevin Marois29-Sep-20 10:53
professionalKevin Marois29-Sep-20 10:53 
AnswerRe: ASP.net Web API Errors Pin
Afzaal Ahmad Zeeshan29-Sep-20 11:20
mveAfzaal Ahmad Zeeshan29-Sep-20 11:20 
GeneralRe: ASP.net Web API Errors Pin
Kevin Marois29-Sep-20 11:28
professionalKevin Marois29-Sep-20 11:28 
AnswerRe: ASP.net Web API Errors Pin
Richard Deeming29-Sep-20 21:27
mveRichard Deeming29-Sep-20 21:27 
GeneralRe: ASP.net Web API Errors Pin
Kevin Marois30-Sep-20 5:48
professionalKevin Marois30-Sep-20 5:48 
GeneralRe: ASP.net Web API Errors Pin
Richard Deeming30-Sep-20 6:50
mveRichard Deeming30-Sep-20 6:50 
NewsCoding multiple text blocks over a single image in HTML Pin
Member 1495060328-Sep-20 5:40
MemberMember 1495060328-Sep-20 5:40 
Questionhello! I wanted to ask how should we code the domain code ourselves? That is, to register a domain for our website and not to get it from somewhere else? What to learn for it Or what book he read Pin
Member 1493949715-Sep-20 20:56
MemberMember 1493949715-Sep-20 20:56 
AnswerRe: hello! I wanted to ask how should we code the domain code ourselves? That is, to register a domain for our website and not to get it from somewhere else? What to learn for it Or what book he read Pin
Richard MacCutchan15-Sep-20 21:34
mveRichard MacCutchan15-Sep-20 21:34 
Answerok, thanks Pin
Member 1493949715-Sep-20 21:39
MemberMember 1493949715-Sep-20 21:39 
SuggestionRe: Domain registration Pin
Richard Deeming15-Sep-20 22:01
mveRichard Deeming15-Sep-20 22:01 
Questionvisualization of data on a website, where the data is provided by some remote C++ program Pin
Arist0tle11-Sep-20 5:44
MemberArist0tle11-Sep-20 5:44 
AnswerRe: visualization of data on a website, where the data is provided by some remote C++ program Pin
professor tourneseul17-Mar-21 7:50
Memberprofessor tourneseul17-Mar-21 7:50 
QuestionKENDO GRID with PAGING, SORTING, FILTERING , CUSTOMIZATION Pin
sagarpallavi9-Sep-20 21:40
Membersagarpallavi9-Sep-20 21:40 
QuestionHI Everyone Pin
Sarbjit Grewal6-Sep-20 18:20
professionalSarbjit Grewal6-Sep-20 18:20 
AnswerRe: HI Everyone Pin
Sandeep Mewara6-Sep-20 19:03
mveSandeep Mewara6-Sep-20 19:03 
QuestionWordpress to html software, So I can code it freely (live option?) Pin
Dr3am'R6-Sep-20 4:58
MemberDr3am'R6-Sep-20 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.