Category "css"

how can i make the field looks mandatory using HTML and CSS

I want to make a field mandatory but the *required in red color is coming below the field name which i want just beside to field name here is the HTML code &l

Using the Same jQuery Function in Separate Buttons

I'm trying to get each button to change color on click. However, I want to separate buttons 1-3 from buttons 4-6 so they are independent from each other. I wa

How to center align logo image in Wordpress Theme?

I want to center align logo image of my wordpress theme, I've tried to do so but failed; Here's the CSS for Header Area /* Header ----------------------------

Truncating big text value in p:dataTable and exporting the table with the full text

I am using Primefaces 3.5 with JSF 2 and have a dataTable: <p:dataTable id="dataTable" var="refType" value="#{rtmUiController.listAllRefTypes()}" pag

how to make child in flex go full width?

I've started using flex and I love how it works. I'm using flex layout and I want the btn-group class inside dashboard-body to go full width of the parent. Ri

CSS - Hide Options From Select Menu on iPhone & Safari

So I have a site that is using a select menu for the mobile navigation. I'm needing to hide a few options from the list, and have been able to so on all browser

Label for Progress Bar not showing MudBlazor

I have a Progress Bar (MudProgressLinear) that is working fine, but it won't show the label i gave it and I can't fix this problem. Here is my Code: <MudProg

Proper way to show drop down on focus with CSS

I'm trying to make a keyboard accessible menu but I can't figure out how to get it to show the the drop down on focus. I have .main-menu li:hover ul, .main-me

Override Twitter's Bootstrap <hr> styling

I want to change the color and size of a horizontal rule, but there is bootstrap default styling. How can I override it without manually changing bootstrap css?

Why are horizontal scroll bars shown on my website?

I am making a website and a horizontal scroll bar shows. Of course, I can use overflow-x and that will fix all my problems, but I want to know the origin of the

dropdown div hidden when inside table tr

I'm not sure if there is another post similar to this one but I'm hoping this can be a simple fix for someone better as css than me. See the example here: https

dropdown div hidden when inside table tr

I'm not sure if there is another post similar to this one but I'm hoping this can be a simple fix for someone better as css than me. See the example here: https

How to apply the style only if next element has specific class?

Markup: <li class="divider"></li> <li class="active"><a href="#">Home</a> <li class="divider"></li> <li><a h

How to apply the style only if next element has specific class?

Markup: <li class="divider"></li> <li class="active"><a href="#">Home</a> <li class="divider"></li> <li><a h

Bootstrap 3 dropdown menu changing background on submenu focus

I have changed the background colors of my Bootstrap menu, but the background color of the main dropdown item in the list is changing when the submenu (the menu

Images load fine locally, but not on webserver

been looking around here for a bit but still haven't found an answer. Have an issue with a site I'm working on. Site is entirely self contained in a folder. Tr

Set mouse wheel to horizontal scroll using css

I want to design a horizontal page. When I use mouse wheel it just scrolls content vertically. How can I use horizontal scroll by mouse wheel? Does CSS support

:before && :after pseudo elements not showing Firefox

Firefox is not displaying :after and :before but they do show in Chrome. Firefox & Chrome: Viewing the source directly in Firefox shows the CSS is there:

Creating a plain html home page AMP with WordPress running the other pages

Gday I like to know how you would go about creating a home page in plain html and have WordPress run the other pages? The reason is I’d like to create

Why is "cursor:pointer" effect in CSS not working

I set cursor: pointer for .about > span, but when my mouse hovers on those texts in <span>, the cursor does not change into pointer mode. I would like